fix: lint and gosec #41

Merged
0xmuralik merged 14 commits from murali/fix-lint into murali/tendermint-rollback 2022-10-18 10:46:37 +00:00
Showing only changes of commit 5ae3bc8d23 - Show all commits

View File

@ -166,6 +166,7 @@ func GetGQLAuction(auction *auctiontypes.Auction, bids []*auctiontypes.Bid) (*Au
func getReferences(ctx context.Context, resolver QueryResolver, r *nstypes.RecordType) ([]*Record, error) {
var ids []string
// #nosec G705
for key := range r.Attributes {
//nolint: all
switch r.Attributes[key].(type) {