From 4152a7cccf838d422fde705fd5d17a53f084470a Mon Sep 17 00:00:00 2001 From: Duncan Dam Date: Wed, 29 May 2024 11:48:27 +0700 Subject: [PATCH] update --- dgraphql/resolvers/trxcache.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dgraphql/resolvers/trxcache.go b/dgraphql/resolvers/trxcache.go index f0a02520..1505629c 100644 --- a/dgraphql/resolvers/trxcache.go +++ b/dgraphql/resolvers/trxcache.go @@ -8,14 +8,14 @@ import ( type TrxCache struct { capacity int - data map[string]interface{} + data map[string]bool order *list.List } func NewTrxCache(capacity int) *TrxCache { return &TrxCache{ capacity: capacity, - data: make(map[string]interface{}), + data: make(map[string]bool), order: list.New(), } }