Skip to content

Commit 122be5e

Browse files
committed
Change OrgItems to use Node version
1 parent 7f3f136 commit 122be5e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/api/queries/orgItemsQuery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { queryOptions } from '@tanstack/react-query'
44
export const orgItemsQuery = queryOptions({
55
queryKey: ['orgItems'],
66
queryFn() {
7-
return get('https://4nekwiwkkyz4uwidxgxuykksmq0xvuez.lambda-url.us-east-2.on.aws', {})
7+
return get('https://mbgtl54izbhjckuzhrhjijaaga0lzirw.lambda-url.us-east-2.on.aws', {})
88
},
99
staleTime: 1000 * 60 * 60 * 2, // 2 hours
1010
gcTime: 1000 * 60 * 60 * 3, // 3 hours (how long to keep in cache after unused)

src/utils/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ declare global {
2424
Id: number //CharityTypes
2525
Type: string
2626
}[]
27-
'https://4nekwiwkkyz4uwidxgxuykksmq0xvuez.lambda-url.us-east-2.on.aws': (params?: Record<string, unknown>) => {
27+
'https://mbgtl54izbhjckuzhrhjijaaga0lzirw.lambda-url.us-east-2.on.aws': (params?: Record<string, unknown>) => {
2828
CharityName: string
2929
ItemName: string
3030
CharityId: number

0 commit comments

Comments
 (0)