You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/packages/server/shopping/cart/recent-purchases.ts
+1-1
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ export default async function getRecentPurchases({
29
29
constpool=getPool();
30
30
const{ rows }=awaitpool.query(
31
31
`SELECT * FROM shopping_cart_items WHERE account_id=$1 AND purchased IS NOT NULL AND (purchased#>>'{time}')::timestamptz >= NOW() - $2::interval AND purchased#>>'{voucher_id}' IS NULL`,
0 commit comments