graphql wip

This commit is contained in:
Roy Crihfield 2023-09-21 20:56:15 +08:00
parent a6e5ba417d
commit cea0f337af

View File

@ -356,8 +356,6 @@ func (k Keeper) SetAttributeMapping(ctx sdk.Context, key []byte, recordID string
if err != nil {
return fmt.Errorf("cannot unmarshal byte array, error, %w", err)
}
} else {
recordIds = []string{}
}
recordIds = append(recordIds, recordID)
bz, err := json.Marshal(recordIds)