fix: enable external auth by using a different header (#87)
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
@@ -55,7 +55,7 @@ export async function renew (jwt) {
|
||||
const res = await fetch(`${baseURL}/api/renew`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Authorization': `Bearer ${jwt}`,
|
||||
'X-Auth': jwt,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user