You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-15 23:54:29 +02:00
Store fileId for image blocks instead of url
This commit is contained in:
@ -323,7 +323,7 @@ class OctoClient {
|
|||||||
const json = JSON.parse(text)
|
const json = JSON.parse(text)
|
||||||
|
|
||||||
// const json = await this.getJson(response)
|
// const json = await this.getJson(response)
|
||||||
return json.url
|
return json.fileId
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Utils.logError(`uploadFile json ERROR: ${e}`)
|
Utils.logError(`uploadFile json ERROR: ${e}`)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user