Skip to content

Commit

Permalink
fix: Fixed exception imports
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreSoftwareDeveloper committed Jun 13, 2024
1 parent 6d1fd2a commit 475592e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/plugins/core/admin/members/edit/edit.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { EditAdminMembersArgs } from "./dto/edit.args";

import { core_users } from "@/plugins/core/admin/database/schema/users";
import { DatabaseService } from "@/database/database.service";

Check warning on line 7 in backend/src/plugins/core/admin/members/edit/edit.service.ts

View workflow job for this annotation

GitHub Actions / install

There should be at least one empty line between import groups
import { NotFoundError } from "@/utils/errors/not-found-error";
import { AccessDeniedError } from "@/utils/errors/access-denied-error";
import { NotFoundError } from "@vitnode/backend";

Check warning on line 8 in backend/src/plugins/core/admin/members/edit/edit.service.ts

View workflow job for this annotation

GitHub Actions / install

`@vitnode/backend` import should occur before import of `./dto/edit.args`

Check warning on line 8 in backend/src/plugins/core/admin/members/edit/edit.service.ts

View workflow job for this annotation

GitHub Actions / install

'@vitnode/backend' imported multiple times
import { AccessDeniedError } from "@vitnode/backend";

Check warning on line 9 in backend/src/plugins/core/admin/members/edit/edit.service.ts

View workflow job for this annotation

GitHub Actions / install

There should be at least one empty line between import groups

Check warning on line 9 in backend/src/plugins/core/admin/members/edit/edit.service.ts

View workflow job for this annotation

GitHub Actions / install

`@vitnode/backend` import should occur before import of `./dto/edit.args`
import { EditAdminMembersObj } from "./dto/edit.obj";

@Injectable()
Expand Down

0 comments on commit 475592e

Please sign in to comment.