Skip to content

Commit

Permalink
fix: error message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
IanFonzie committed Apr 12, 2024
1 parent e31bd3c commit 58b0d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/back-end/lib/db/affiliation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ export const changeOwner = tryDb<[Id, Id, AuthenticatedSession], Affiliation>(
).transacting(trx);

if (!newOwnerAffiliation) {
throw new Error("unable to set affiliation type owner");
throw new Error("unable to set affiliation type to owner");
}

const [newOwnerAffiliationEvent] = await connection<RawHistoryRecord>(
Expand Down

0 comments on commit 58b0d9d

Please sign in to comment.