SHARE
TWEET

Untitled

a guest May 25th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Mutation('joinParty')
  2.   async joinParty(@Args() args: { where: JoinPartyWhereInput }, @Info() info) {
  3.     // 100 points for someone who tells me why I'm using arrow function here
  4.     // instead of normal function declaration :)
  5.     const makeDeletePartyPromise = (partyId: string) => {
  6.       return this.prisma.mutation.deletePartyInvitation({
  7.         where: { id: partyId },
  8.       });
  9.     };
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top