Skip to content

Commit c33685e

Browse files
committed
fix: update logout request method
1 parent 65d8ad5 commit c33685e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/system/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function currentUser(options?: { [key: string]: any }) {
1111

1212
export async function outLogin(options?: { [key: string]: any }) {
1313
return request<Record<string, any>>('/api/v1/logout', {
14-
method: 'DELETE',
14+
method: 'GET',
1515
...(options || {}),
1616
});
1717
}

0 commit comments

Comments
 (0)