Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch committed Dec 7, 2023
1 parent 554d2c1 commit 0ccdbed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/server/graphql/mutations/payLater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import {GraphQLID, GraphQLNonNull} from 'graphql'
import {SubscriptionChannel} from 'parabol-client/types/constEnums'
import getRethink from '../../database/rethinkDriver'
import {RValue} from '../../database/stricterR'
//import Meeting from '../../database/types/Meeting'
import getPg from '../../postgres/getPg'
import {incrementUserPayLaterClickCountQuery} from '../../postgres/queries/generated/incrementUserPayLaterClickCountQuery'
import {getUserId, isTeamMember} from '../../utils/authorization'
Expand Down Expand Up @@ -33,7 +32,7 @@ export default {
// AUTH
const viewerId = getUserId(authToken)
const [meeting, viewer] = await Promise.all([
r.table('NewMeeting').get(meetingId).run(), //) as Meeting | null
r.table('NewMeeting').get(meetingId).run(),
dataLoader.get('users').loadNonNull(viewerId)
])
if (!meeting) {
Expand Down

0 comments on commit 0ccdbed

Please sign in to comment.