forked from cerc-io/laconicd-deprecated
Changes to run laconic-console app with laconicd (#75)
* Add cors middleware for GQL requests (#65) * Implement loading query from URL in GQL playground (#66) * Implement loading GQL query from URL * Fix variable name lint error * Load record names in `getRecordsByIds` GQL query (#67) * Fix variable rename * Load names in getRecordsByIds GQL query * CI Review fixes * Make init script executable
This commit is contained in:
@@ -111,7 +111,7 @@ func (k Keeper) GetRecord(ctx sdk.Context, id string) (record types.Record) {
|
||||
store := ctx.KVStore(k.storeKey)
|
||||
result := store.Get(GetRecordIndexKey(id))
|
||||
k.cdc.MustUnmarshal(result, &record)
|
||||
return record
|
||||
return recordObjToRecord(store, record)
|
||||
}
|
||||
|
||||
// ListRecords - get all records.
|
||||
|
||||
Reference in New Issue
Block a user