Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
finlay-jisc committed Nov 6, 2023
1 parent 9f90f93 commit fc5106b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ui/src/lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ export const get = async (
config
? {
...config,
...(token && { headers: {
...config.headers,
...headers
} })
...(token && {
headers: {
...config.headers,
...headers
}
})
}
: token
? { headers }
Expand Down

0 comments on commit fc5106b

Please sign in to comment.