Skip to content

Commit

Permalink
[front/lib/resources] - refactor: organize imports in vault_resource
Browse files Browse the repository at this point in the history
 - Moved DustError to optimally organize imports
 - Removed duplicate DustError import from vault_resource module
  • Loading branch information
Jules authored and Jules committed Oct 21, 2024
1 parent ac128c6 commit 4534abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/lib/resources/vault_resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import type {
import { Op } from "sequelize";

import type { Authenticator } from "@app/lib/auth";
import { DustError } from "@app/lib/error";
import { BaseResource } from "@app/lib/resources/base_resource";
import { GroupResource } from "@app/lib/resources/group_resource";
import { frontSequelize } from "@app/lib/resources/storage";
Expand All @@ -28,7 +29,6 @@ import type { ReadonlyAttributesType } from "@app/lib/resources/storage/types";
import type { ModelStaticSoftDeletable } from "@app/lib/resources/storage/wrappers";
import { getResourceIdFromSId, makeSId } from "@app/lib/resources/string_ids";
import type { ResourceFindOptions } from "@app/lib/resources/types";
import { DustError } from "@app/lib/error";
import { UserResource } from "@app/lib/resources/user_resource";

// Attributes are marked as read-only to reflect the stateless nature of our Resource.
Expand Down

0 comments on commit 4534abd

Please sign in to comment.