Skip to content

Commit

Permalink
Fix incorrect GetAll() in postgres store.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed May 17, 2024
1 parent 1b70416 commit 205c1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 205c1e0

Please sign in to comment.