Skip to content

Commit

Permalink
Reorganize and document our GraphQL Schema
Browse files Browse the repository at this point in the history
Fixes #859
  • Loading branch information
tibetsprague committed Sep 19, 2022
1 parent 71e09ef commit d66c4de
Show file tree
Hide file tree
Showing 2 changed files with 1,876 additions and 783 deletions.
4 changes: 1 addition & 3 deletions api/graphql/mutations/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ export async function invitePeopleToEvent (userId, eventId, inviteeIds) {
var eventInvitation = await EventInvitation.find({userId: inviteeId, eventId})
if (!eventInvitation) {

console.log('creating for invitation for ', inviteeId)

await EventInvitation.create({
userId: inviteeId,
inviterId: userId,
Expand All @@ -46,4 +44,4 @@ export async function invitePeopleToEvent (userId, eventId, inviteeIds) {
await event.createInviteNotifications(userId, inviteeIds)

return event
}
}
Loading

0 comments on commit d66c4de

Please sign in to comment.