From 846e14f9b5167f5483b9a59876d7934ab94d7c20 Mon Sep 17 00:00:00 2001 From: Wendy V Gaultier Date: Mon, 8 Jan 2024 14:11:36 +0000 Subject: [PATCH] REmove hardcoding --- components/centraldashboard/public/components/landing-page.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/centraldashboard/public/components/landing-page.js b/components/centraldashboard/public/components/landing-page.js index a9dd91b67f6..63706aec1e3 100644 --- a/components/centraldashboard/public/components/landing-page.js +++ b/components/centraldashboard/public/components/landing-page.js @@ -88,7 +88,6 @@ export class LandingPage extends mixinBehaviors([AppLocalizeBehavior], utilities * @param {string} namespace */ getNamespace(namespace) { - namespace ='wendy-gaultier'; // test to bypass anon fetch( // eslint-disable-next-line max-len `jupyter/api/namespaces/${namespace}`, { @@ -101,7 +100,7 @@ export class LandingPage extends mixinBehaviors([AppLocalizeBehavior], utilities .then((response)=>{ if (!response.ok) { // eslint-disable-next-line no-console - console.log('Respons not ok' + response); + console.log('Response not ok' + response); throw new Error('Failed to retrieve information'); } else { return response;