Merged in fix/LOY-399-include-lang-in-activate-call (pull request #2927)

fix(LOY-399): Add lang to promo campaign call

* fix(LOY-399): Add lang to promo campaign call


Approved-by: Matilda Landström
This commit is contained in:
Chuma Mcphoy (We Ahead)
2025-10-08 11:26:08 +00:00
parent 67a58d5a43
commit 2f10a453d4
3 changed files with 6 additions and 1 deletions

View File

@@ -65,4 +65,5 @@ export type GetSavedPaymentCardsInput = z.input<
export const addPromoCampaignInput = z.object({
promotionId: z.string(),
language: z.nativeEnum(Lang),
})

View File

@@ -230,6 +230,7 @@ export const userMutationRouter = router({
},
body: {
promotionId: input.promotionId,
language: input.language,
},
}
)