mirror of
https://github.com/mattermost/focalboard.git
synced 2025-02-07 19:30:18 +02:00
Store fileId for image blocks instead of url
This commit is contained in:
parent
02e436c902
commit
3456aed4b6
@ -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}`)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user