diff --git a/oaer/lib/api/token.ts b/oaer/lib/api/token.ts index e8eef5b..1ea6b51 100644 --- a/oaer/lib/api/token.ts +++ b/oaer/lib/api/token.ts @@ -12,7 +12,7 @@ export interface TokenSaltOpts { } // keep export function TokenSalt(json: TokenSaltOpts) { - return webapi.Get<{ id: string, salt: string }>(`/token/TokenSalt`, { json }) + return webapi.Post<{ id: string, salt: string }>(`/token/salt`, { json }) } export interface PostOpts { refresh?: string