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 = await this.getJson(response)
return json.url
return json.fileId
} catch (e) {
Utils.logError(`uploadFile json ERROR: ${e}`)
}