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:
2023-01-11 13:06:42 +05:30
committed by GitHub
parent ab2ea51aac
commit 02e9080094
6 changed files with 187 additions and 8 deletions
+1 -1
View File
@@ -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.