Skip to content

Commit 5359570

Browse files
committed
PR feedback
1 parent a681cc7 commit 5359570

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/api/webhooks/trolley/handlers/tax-form.handler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class TaxFormHandler {
8383
@WebhookEvent(TrolleyWebhookEvent.taxFormStatusUpdated)
8484
async handleTaxFormStatusUpdated(
8585
payload: TaxFormStatusUpdatedEvent,
86-
): Promise<any> {
86+
): Promise<void> {
8787
const taxFormData = payload.taxForm.data;
8888
const recipient = await this.getDbRecipientById(taxFormData.recipientId);
8989

src/api/webhooks/trolley/trolley.types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export interface TaxFormStatusUpdatedEventData {
1919
status: TaxFormStatus;
2020
taxFormType: string;
2121
taxFormAddressCountry: string;
22-
mailingAddressCountry: null;
23-
registrationCountry: null;
22+
mailingAddressCountry: string | null;
23+
registrationCountry: string | null;
2424
createdAt: string;
2525
signedAt: string;
2626
reviewedAt: string;

0 commit comments

Comments
 (0)