Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Mutation('joinParty')
- async joinParty(@Args() args: { where: JoinPartyWhereInput }, @Info() info) {
- // 100 points for someone who tells me why I'm using arrow function here
- // instead of normal function declaration :)
- const makeDeletePartyPromise = (partyId: string) => {
- return this.prisma.mutation.deletePartyInvitation({
- where: { id: partyId },
- });
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement