Skip to content

Commit

Permalink
Extra linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil2000 committed Sep 12, 2024
1 parent 8f8faf9 commit 5836d46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
16 changes: 10 additions & 6 deletions apps/api/src/project/project.e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -852,12 +852,16 @@ describe('Project Controller Tests', () => {
)

// Add user to workspace as a member
await workspaceMembershipService.inviteUsersToWorkspace(user1, workspace1.slug, [
{
email: johnny.email,
roleSlugs: [role.slug]
}
])
await workspaceMembershipService.inviteUsersToWorkspace(
user1,
workspace1.slug,
[
{
email: johnny.email,
roleSlugs: [role.slug]
}
]
)

// Accept the invitation on behalf of the user
await workspaceMembershipService.acceptInvitation(johnny, workspace1.slug)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export class CreateWorkspace {
@IsString()
@IsOptional()
description?: string
}
}
8 changes: 2 additions & 6 deletions apps/api/src/workspace/service/workspace.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import { createEvent } from '@/common/event'
import { paginate } from '@/common/paginate'
import generateEntitySlug from '@/common/slug-generator'
import { limitMaxItemsPerPage } from '@/common/util'
import {
createWorkspace
} from '@/common/workspace'
import { createWorkspace } from '@/common/workspace'
import { IMailService, MAIL_SERVICE } from '@/mail/services/interface.service'
import { PrismaService } from '@/prisma/prisma.service'
import {
Expand All @@ -29,9 +27,7 @@ import {
Variable,
Workspace
} from '@prisma/client'
import {
CreateWorkspace,
} from '../dto/create.workspace/create.workspace'
import { CreateWorkspace } from '../dto/create.workspace/create.workspace'
import { UpdateWorkspace } from '../dto/update.workspace/update.workspace'

@Injectable()
Expand Down

0 comments on commit 5836d46

Please sign in to comment.