mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-17 15:42:24 +00:00
Merge branch 'v1422/fixes' into release/v1.42.2
This commit is contained in:
commit
3c4e053dcd
83 files changed
+1808
-258
No files matched your search
@@ -166,7 +166,7 @@ export async function claimManagedGuardianEgressAuthorization(
|
||||
${delivery.recipientUserId},
|
||||
${channel},
|
||||
${eventType},
|
||||
clock_timestamp()
|
||||
(clock_timestamp() AT TIME ZONE 'UTC')
|
||||
WHERE EXISTS (
|
||||
SELECT 1
|
||||
FROM "account_grants"
|
||||
@@ -177,7 +177,7 @@ export async function claimManagedGuardianEgressAuthorization(
|
||||
AND "revoked_at" IS NULL
|
||||
AND (
|
||||
"expires_at" IS NULL
|
||||
OR "expires_at" > clock_timestamp()
|
||||
OR "expires_at" > (clock_timestamp() AT TIME ZONE 'UTC')
|
||||
)
|
||||
)
|
||||
RETURNING "id"
|
||||
|
||||
Reference in new issue
Block a user