Skip to content

Commit 6bb3bc3

Browse files
fix: pointer to pointer in GetDatastoreKey
1 parent a5ca99d commit 6bb3bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db-connector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14208,7 +14208,7 @@ func GetDatastoreKey(ctx context.Context, id string, category string) (*CacheKey
1420814208
cache, err := GetCache(ctx, cacheKey)
1420914209
if err == nil {
1421014210
parsedCache := []byte(cache.([]uint8))
14211-
err = json.Unmarshal(parsedCache, &cacheData)
14211+
err = json.Unmarshal(parsedCache, cacheData)
1421214212
if err == nil {
1421314213
return cacheData, nil
1421414214
}

0 commit comments

Comments
 (0)