added comments, fixed repo error

This commit is contained in:
j-weissen 2022-10-18 09:00:19 +02:00
parent 7068ae402e
commit 952917d415
2 changed files with 16 additions and 5 deletions

View file

@ -79,6 +79,7 @@ export class StrapiNoteRepository implements NoteRepository {
}
static getAuthorizationHeader() {
// @ts-ignore
const jwt = parseCookies('/').jwt;
return `bearer ${jwt}`
}