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:
Karl Haworth
2024-04-05 10:14:13 -04:00
parent 3f55999021
commit 6ecacd3ffe
@@ -84,7 +84,7 @@ export const handleAuthRequest = ({
...options,
headers: {
...options.headers,
Authorization: `Bearer ${await authCallback({})}`,
Authorization: `Bearer ${await authCallback()}`,
},
...cookies,
});