This'll need an update for the return type tweak, but you can also skip passing {} here, mainly just confusing to the reader 😁
Signed-off-by: Karl Haworth <karl.haworth@aa.com>
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ export const handleAuthRequest = ({
|
||||
...options,
|
||||
headers: {
|
||||
...options.headers,
|
||||
Authorization: `Bearer ${await authCallback({})}`,
|
||||
Authorization: `Bearer ${await authCallback()}`,
|
||||
},
|
||||
...cookies,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user