We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed67a7f commit 65d8ad5Copy full SHA for 65d8ad5
src/services/system/login.ts
@@ -10,8 +10,8 @@ export async function currentUser(options?: { [key: string]: any }) {
10
}
11
12
export async function outLogin(options?: { [key: string]: any }) {
13
- return request<Record<string, any>>('/api/logout', {
14
- method: 'POST',
+ return request<Record<string, any>>('/api/v1/logout', {
+ method: 'DELETE',
15
...(options || {}),
16
});
17
0 commit comments