Skip to content

Commit

Permalink
fix api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
LarmuseauNiels committed Apr 27, 2023
1 parent e6d3ab7 commit 8f79aed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/ApiFunctions/MemberEndPoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function memberEndPoints(app) {
userid: user.id,
},
orderBy: {
Timestamp: "desc",
TimeStamp: "desc",
} as any,
})
.then((pointHistory) => {
Expand All @@ -73,7 +73,9 @@ export function memberEndPoints(app) {
select: {
RewardItem: {
where: {
RedeemedBy: null,
RedeemedBy: {
equals: null,
},
},
},
} as any,
Expand Down

0 comments on commit 8f79aed

Please sign in to comment.