From b8c90f295f31fa7c50d17f60ebb8f5c0a8502957 Mon Sep 17 00:00:00 2001 From: Todd Underwood Date: Tue, 12 Jan 2021 14:27:40 -0800 Subject: [PATCH] Fix: Fix the linking of documentation --- packages/client/package.json | 2 +- packages/client/src/services/DocsService.ts | 2 +- packages/server/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 5ff4539d..46c60955 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "client", - "version": "1.0.0", + "version": "1.0.1", "description": "The client lib for the Referee UX", "author": "Justin Field ", "homepage": "https://example.com/dashboard/", diff --git a/packages/client/src/services/DocsService.ts b/packages/client/src/services/DocsService.ts index df1c9045..4b60afd8 100644 --- a/packages/client/src/services/DocsService.ts +++ b/packages/client/src/services/DocsService.ts @@ -56,7 +56,7 @@ export default class DocsService { if (docsStore.tableOfContents == null) { try { const response = await axios.get(`${process.env.PUBLIC_URL}/docs/table-of-contents.yaml`); - const tocData: any = yaml.safeLoad(response.data); + const tocData: any = yaml.load(response.data); const validationResults = validateToc(tocData); // TODO wire up error component rather than crash entire site. diff --git a/packages/server/package.json b/packages/server/package.json index 644af4cc..62ccf8e8 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "server", - "version": "1.0.0", + "version": "1.0.1", "description": "The backend for the Referee UI", "author": "Justin Field ", "homepage": "",