added comments, fixed repo error
This commit is contained in:
parent
7068ae402e
commit
952917d415
2 changed files with 16 additions and 5 deletions
|
|
@ -79,6 +79,7 @@ export class StrapiNoteRepository implements NoteRepository {
|
|||
}
|
||||
|
||||
static getAuthorizationHeader() {
|
||||
// @ts-ignore
|
||||
const jwt = parseCookies('/').jwt;
|
||||
return `bearer ${jwt}`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue