Skip to content

Commit 681254b

Browse files
authored
Fix fetching user settings
1 parent d4eda52 commit 681254b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyvolt/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2499,7 +2499,7 @@ async def get_user_settings(self, keys: list[str], /) -> UserSettings:
24992499
# Sync endpoints aren't meant to be used with bot accounts
25002500
j: raw.OptionsFetchSettings = {"keys": keys}
25012501
return self.state.parser.parse_user_settings(
2502-
await self.request(routes.SYNC_SET_SETTINGS.compile(), json=j),
2502+
await self.request(routes.SYNC_GET_SETTINGS.compile(), json=j),
25032503
)
25042504

25052505
async def get_unreads(self) -> list[ReadState]:

0 commit comments

Comments
 (0)