fix path to file api
This commit is contained in:
parent
c5f8b7f142
commit
786b97eb82
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@ class OctoClient {
|
|||
}
|
||||
|
||||
async getFileAsDataUrl(boardId: string, fileId: string): Promise<string> {
|
||||
let path = '/files/teams/' + this.teamId + '/' + boardId + '/' + fileId
|
||||
let path = '/api/v1/files/teams/' + this.teamId + '/' + boardId + '/' + fileId
|
||||
const readToken = Utils.getReadToken()
|
||||
if (readToken) {
|
||||
path += `?read_token=${readToken}`
|
||||
|
|
Loading…
Reference in a new issue