diff --git a/server/routers/user/query.ts b/server/routers/user/query.ts index bf2c2eac4..53640009c 100644 --- a/server/routers/user/query.ts +++ b/server/routers/user/query.ts @@ -585,17 +585,7 @@ export const userQueryRouter = router({ ) const pageData = updatedData - .filter((t) => { - if ( - t.type === RewardTransactionTypes.rewardNight && - t.attributes.hotelOperaId === "ORS" - ) { - return false - } - if (t.type === RewardTransactionTypes.expired) return false - - return true - }) + .filter((t) => t.type !== RewardTransactionTypes.expired) .sort((a, b) => { // 'BALFWD' are transactions from Opera migration that happended in May 2021 if (a.attributes.confirmationNumber === "BALFWD") return 1