From 205c1e0f2f339140262d13a023ca137fad17ac22 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Fri, 17 May 2024 23:27:00 +0530 Subject: [PATCH] Fix incorrect GetAll() in postgres store. --- stores/postgres/postgres.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stores/postgres/postgres.go b/stores/postgres/postgres.go index 0533bf8..8a1e3c2 100644 --- a/stores/postgres/postgres.go +++ b/stores/postgres/postgres.go @@ -172,7 +172,7 @@ func (s *Store) GetMulti(id string, keys ...string) (map[string]interface{}, err } // GetAll returns the map of all keys in the session. -func (s *Store) GetAll(id string, keys ...string) (map[string]interface{}, error) { +func (s *Store) GetAll(id string) (map[string]interface{}, error) { if !validateID(id) { return nil, ErrInvalidSession }