(data: PlainMessage<UpdateSettingsRequest>)
| 99 | }; |
| 100 | |
| 101 | export const updateSettings = async (data: PlainMessage<UpdateSettingsRequest>) => { |
| 102 | const response = await apiclient.put("/users/@self/settings", data); |
| 103 | return fromJson(UpdateSettingsResponseSchema, response); |
| 104 | }; |
| 105 | |
| 106 | export const resetSettings = async () => { |
| 107 | const response = await apiclient.post("/users/@self/settings/reset"); |
no test coverage detected