From 234cec0ce49946201f8e3a4ffa3219aba51c9d22 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 26 Apr 2022 13:07:02 -0500 Subject: [PATCH] Fix undefined name --- src/pages/app/[slug].astro | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pages/app/[slug].astro b/src/pages/app/[slug].astro index 1e7cb39..8d23855 100644 --- a/src/pages/app/[slug].astro +++ b/src/pages/app/[slug].astro @@ -55,11 +55,9 @@ console.log('Astro.request', Astro.request ) const appEntry = await axios.get( apiUrl.toString() ) .then( response => { // console.log( 'response', response ) - return response.data.data + return response.data }) - - // const { // head, // entry