Skip to content

Commit 6c7b237

Browse files
peponeexternl
andauthored
Update python/Glacier2/session/server/poke_session/box.py
Co-authored-by: Joe George <[email protected]>
1 parent 0a2e7ef commit 6c7b237

File tree

1 file changed

+1
-1
lines changed
  • python/Glacier2/session/server/poke_session

1 file changed

+1
-1
lines changed

python/Glacier2/session/server/poke_session/box.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def caught(self, pokemon: list[str], current: Ice.Current) -> None:
5555

5656
@override
5757
def releaseAll(self, current: Ice.Current) -> None:
58-
self._pokeStore.saveCollection(self.getUserId(current), [])
58+
self._pokeStore.saveCollection(self.getUserId(current.id.name), [])
5959

6060
def getUserId(self, token: str) -> str:
6161
userId = self._userIdResolver.getUserId(token)

0 commit comments

Comments
 (0)