From 3456aed4b638da725855c934770ae58d75a16404 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Tue, 23 Feb 2021 11:59:32 -0800 Subject: [PATCH] Store fileId for image blocks instead of url --- webapp/src/octoClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/octoClient.ts b/webapp/src/octoClient.ts index 2d7be14e6..cebfb5daa 100644 --- a/webapp/src/octoClient.ts +++ b/webapp/src/octoClient.ts @@ -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}`) }