fix path to file api

This commit is contained in:
Scott Bishel 2022-04-12 13:18:10 -06:00
parent c5f8b7f142
commit 786b97eb82

View file

@ -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}`