Skip to content

Commit 0f46cf7

Browse files
committed
fix: removeAllPushSubscriptions
1 parent e13c611 commit 0f46cf7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

common/student/activation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export async function deactivateStudent(
3333
where: { id: student.id },
3434
});
3535

36+
await removeAllPushSubcriptions(userForStudent(student));
37+
3638
// Dissolve matches for the student.
3739
const matches = await prisma.match.findMany({
3840
where: {

0 commit comments

Comments
 (0)