cleanup
This commit is contained in:
parent
b1b081fe30
commit
fe005863a8
1 changed files with 2 additions and 3 deletions
|
|
@ -13,8 +13,7 @@ export class StrapiNoteRepository implements NoteRepository {
|
||||||
return this.instance;
|
return this.instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
private constructor() {
|
private constructor() {}
|
||||||
}
|
|
||||||
|
|
||||||
private currentNoteId: number | undefined;
|
private currentNoteId: number | undefined;
|
||||||
private static apiNoteEndpoint: string = "http://localhost:1337/api/notes"
|
private static apiNoteEndpoint: string = "http://localhost:1337/api/notes"
|
||||||
|
|
@ -64,7 +63,7 @@ export class StrapiNoteRepository implements NoteRepository {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static mockedGetAuthorizationHeader() {
|
private static mockedGetAuthorizationHeader() {
|
||||||
return "bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNjY0MzU2NzIxLCJleHAiOjE2NjY5NDg3MjF9.SljSS-c4X0Z8SPArwaRg8FiOz15YuAH0Ora4y1you9o"
|
return "bearer TOKEN"
|
||||||
}
|
}
|
||||||
|
|
||||||
private static getAuthorizationHeader() {
|
private static getAuthorizationHeader() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue