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; } }); }