Store fileId for image blocks instead of url
This commit is contained in:
parent
02e436c902
commit
3456aed4b6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue