File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export const AccountProvider = ({ children }) => {
51
51
} , [ ] )
52
52
53
53
const multiAuthSignout = useCallback ( async ( ) => {
54
- const { status } = await fetch ( '/api/signout ' , { credentials : 'include' } )
54
+ const { status } = await fetch ( '/api/next-account ' , { credentials : 'include' } )
55
55
// if status is 302, this means the server was able to switch us to the next available account
56
56
// and the current account was simply removed from the list of available accounts including the corresponding JWT.
57
57
const switchSuccess = status === 302
Original file line number Diff line number Diff line change 1
1
import * as cookie from 'cookie'
2
- import { datePivot } from '../.. /lib/time'
2
+ import { datePivot } from '@ /lib/time'
3
3
4
4
/**
5
5
* @param {NextApiRequest } req
You can’t perform that action at this time.
0 commit comments