Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update mark-program-messages-read.ts

Tim Wilson065895e2d600
diff --git a/apps/web/lib/actions/partners/mark-program-messages-read.ts b/apps/web/lib/actions/partners/mark-program-messages-read.ts
index a6f24f930b..448cc933a2 100644
--- a/apps/web/lib/actions/partners/mark-program-messages-read.ts
+++ b/apps/web/lib/actions/partners/mark-program-messages-read.ts
@@ -21,9 +21,7 @@ export const markProgramMessagesReadAction = authPartnerActionClient
where: {
partnerId: partner.id,
programId: enrollment.programId,
- senderUserId: {
- not: null,
- },
+ senderPartnerId: null,
},
data: {
readInApp: new Date(),