Skip to content

Commit 8038ed6

Browse files
chore: wip
1 parent 3ac797a commit 8038ed6

38 files changed

+3339
-6043
lines changed

app/Middleware/Api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ export default new Middleware({
88
async handle() {
99
const bearerToken = request.bearerToken() || ''
1010

11-
const parts = bearerToken.split('|');
12-
11+
const parts = bearerToken.split('|')
12+
1313
// Ensure that the input string contains exactly one '|'
1414
if (parts.length !== 2) {
1515
throw { message: 'Invalid bearer token format', status: 401 }
1616
}
17-
17+
1818
// const teamToken = parts[0]
1919
// const plainString = parts[1] as string
2020

0 commit comments

Comments
 (0)