chore: added global lint and test commands to backend package (#81)
* chore: added global lint and test commands to backend package * chore: removed lint command from root scope execution
This commit is contained in:
@@ -64,7 +64,7 @@ export class TeamInvitationResolver {
|
||||
description: 'Get the creator of the invite',
|
||||
})
|
||||
async creator(@Parent() teamInvitation: TeamInvitation): Promise<User> {
|
||||
let user = await this.userService.findUserById(teamInvitation.creatorUid);
|
||||
const user = await this.userService.findUserById(teamInvitation.creatorUid);
|
||||
if (O.isNone(user)) throwErr(USER_NOT_FOUND);
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user