mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
fix: lint errors again
This commit is contained in:
@@ -52,9 +52,13 @@ export const useUserStore = defineStore('user', {
|
||||
async logout() {
|
||||
try {
|
||||
if (this.sessionToken) {
|
||||
await axios.post(`${API_BASE}/logout`, {}, {
|
||||
headers: { 'x-user-token': this.sessionToken }
|
||||
})
|
||||
await axios.post(
|
||||
`${API_BASE}/logout`,
|
||||
{},
|
||||
{
|
||||
headers: { 'x-user-token': this.sessionToken }
|
||||
}
|
||||
)
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('Logout request failed:', error)
|
||||
|
||||
Reference in New Issue
Block a user