mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-26 18:48:15 +02:00
Merge pull request #2768 from mattermost/gh-2759-fix-images
GH-2759 - fix path to file api
This commit is contained in:
commit
fa15c291b7
@ -557,7 +557,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…
x
Reference in New Issue
Block a user