fix: minor changes

This commit is contained in:
David Nguyen
2026-07-02 15:33:10 +10:00
parent 8330fa8451
commit 8b8abc3407
6 changed files with 16 additions and 8 deletions
@@ -92,7 +92,7 @@ export const deleteAdminOrganisationMemberRoute = adminProcedure
// A member was removed — queue a seat sync to true the Stripe quantity down
// to the new count (no proration, no credit).
await jobs.triggerJob({
name: 'sync.organisation-seats',
name: 'internal.sync-organisation-seats',
payload: { organisationId },
});
@@ -165,7 +165,7 @@ export const deleteOrganisationMembers = async ({
// Members were removed — queue a seat sync to true the Stripe quantity down to
// the new count (no proration, no credit).
await jobs.triggerJob({
name: 'sync.organisation-seats',
name: 'internal.sync-organisation-seats',
payload: { organisationId },
});
@@ -76,7 +76,7 @@ export const leaveOrganisationRoute = authenticatedProcedure
// A member was removed — queue a seat sync to true the Stripe quantity down
// to the new count (no proration, no credit).
await jobs.triggerJob({
name: 'sync.organisation-seats',
name: 'internal.sync-organisation-seats',
payload: { organisationId },
});