mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-08 12:37:27 +08:00
[+] Implement game options
This commit is contained in:
@@ -157,6 +157,6 @@ export const DATA = {
|
||||
export const SETTING = {
|
||||
get: (): Promise<GameOption[]> =>
|
||||
post('/api/v2/settings/get', {}),
|
||||
set: (key: string, value: string) =>
|
||||
post('/api/v2/settings/set', { key, value }),
|
||||
set: (key: string, value: any) =>
|
||||
post('/api/v2/settings/set', { key, value: `${value}` }),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user