Skip to content

Commit

Permalink
change WithdrawRAI to withdraw-rai
Browse files Browse the repository at this point in the history
  • Loading branch information
thwalker6 committed Jan 16, 2025
1 parent 1e799ae commit 229b7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/libs/email/content/withdrawRai/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { render } from "@react-email/render";
import { EmailProcessingError } from "libs/email/errors";

const getWithdrawRaiEvent = async (id: string) => {
const event = await getLatestMatchingEvent(id, "WithdrawRai");
const event = await getLatestMatchingEvent(id, "withdraw-rai");

if (!event) {
return null;
Expand Down
2 changes: 1 addition & 1 deletion mocks/data/items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ const items: Record<string, TestItemResult> = {
id: `${WITHDRAW_RAI_ITEM_C}-0002`,
submitterName: "Testmctex",
submitterEmail: "dkjfdkljl;",
event: "WithdrawRai",
event: "withdraw-rai",
packageId: WITHDRAW_RAI_ITEM_C,
},
},
Expand Down

0 comments on commit 229b7b3

Please sign in to comment.