1
0
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:
Chen-I Lim 2021-02-23 11:59:32 -08:00
parent 02e436c902
commit 3456aed4b6

View File

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