From 786b97eb82eae43e39584c99e883a39fe4da0842 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Tue, 12 Apr 2022 13:18:10 -0600 Subject: [PATCH] fix path to file api --- webapp/src/octoClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/octoClient.ts b/webapp/src/octoClient.ts index 1cd92acad..65e694c34 100644 --- a/webapp/src/octoClient.ts +++ b/webapp/src/octoClient.ts @@ -553,7 +553,7 @@ class OctoClient { } async getFileAsDataUrl(boardId: string, fileId: string): Promise { - 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}`