Skip to content

Commit a30358f

Browse files
abalogh-esdcCharles-Pham
authored andcommitted
Update AEM source
1 parent a2a32b3 commit a30358f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

graphql/mappers/my-dashboard.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { cachified } from 'cachified'
33
import { lruCache as cache, defaultTtl as ttl } from '../../lib/cache-utils'
44
// import defaultResponse from './sample-responses/my-dashboard5.json'
55

6-
interface GetSchMyDashboardV3 {
6+
interface TestGetSchMyDashboardV5 {
77
data: {
88
schPageV1List: {
99
items: Array<{
@@ -105,8 +105,8 @@ const getCachedContent = () => {
105105
return cachified({
106106
key: `content-dashboard`,
107107
cache,
108-
getFreshValue: async (): Promise<GetSchMyDashboardV3 | null> => {
109-
const targetUri = buildAemUri('getSchMyDashboardV3')
108+
getFreshValue: async (): Promise<TestGetSchMyDashboardV5 | null> => {
109+
const targetUri = buildAemUri('TESTgetSchMyDashboardV5')
110110
const response = await fetch(targetUri)
111111
if (!response.ok) return null
112112
return await response.json()

0 commit comments

Comments
 (0)