Skip to content

Commit 00541f2

Browse files
committed
fix: Copilot messed up the URL 🙄
1 parent 4cf3e11 commit 00541f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const refreshTokenPromiseCache: { [key: string]: Promise<RefreshedTokens> } = {}
1212

1313
const fetchNewToken = async (refreshToken: string): Promise<RefreshedTokens> => {
1414
const response = await fetch(
15-
`${process.env.NEXT_PUBLIC_API_URL}/auth/token/`,
15+
`${process.env.NEXT_PUBLIC_API_URL}/auth/token/refresh/`,
1616
{
1717
method: 'POST',
1818
headers: { 'Content-Type': 'application/json' },

0 commit comments

Comments
 (0)