From 883893aaab3b96bd74e6a742a0b0bb78799e25ef Mon Sep 17 00:00:00 2001 From: alexweininger Date: Thu, 17 Jun 2021 16:55:43 -0700 Subject: [PATCH] Fixup --- CHANGELOG.md | 2 ++ package.json | 2 +- src/commands/database/openDocument.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14aeb70..87dd358 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ All notable changes to the "vscode-appwrite" extension will be documented in thi Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. ## [Unreleased] + +## [0.1.3] - 2021-6-17 ## Added - New feature! JSON strings inside documents will now be automatically formatted as JSON when viewing documents. You can turn this feature off via the `appwrite.formatJsonStrings` setting. diff --git a/package.json b/package.json index 9d7a56d..13b816a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-appwrite", "displayName": "Appwrite", "description": "Manage your Appwrite resources right from VS Code!", - "version": "0.1.2", + "version": "0.1.3", "engines": { "vscode": "^1.55.0" }, diff --git a/src/commands/database/openDocument.ts b/src/commands/database/openDocument.ts index 45d57eb..877f3d4 100644 --- a/src/commands/database/openDocument.ts +++ b/src/commands/database/openDocument.ts @@ -20,7 +20,7 @@ export async function viewDocumentAsJson(documentTreeItem: DocumentTreeItem): Pr Object.entries(document).forEach(([key, value]) => { if (typeof value === "string") { const result = parseJSONString(value); - document[key] = result; + document[key] = result.value; } }); }