-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add email invoice trigger #88
Conversation
src/utils/api.ts
Outdated
@@ -166,6 +167,25 @@ export const listRecentInvoices = async ( | |||
return response.data.data; | |||
}; | |||
|
|||
export const loadMembershipEmailOnInvoice = async ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you clean this up a bit? all (other) functions in this file return api responses. the conversion from api response to output happen in api-to-output.ts
src/utils/api.ts
Outdated
@@ -166,6 +167,25 @@ export const listRecentInvoices = async ( | |||
return response.data.data; | |||
}; | |||
|
|||
export const loadMembershipEmailOnInvoice = async ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
export const loadMembershipEmailOnInvoice = async ( | |
export const getMembership = async ( |
Added membership email to invoice trigger output
Fixes #87