Skip to content

Commit

Permalink
fix: ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
FinleyGe committed Sep 12, 2024
1 parent 6ef29f0 commit 2bc426f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/service/support/permission/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export async function getResourceAllClbs<T extends PerResourceTypeEnum>({
teamId: string;
resourceType: T;
session?: ClientSession;
resourceId?: T extends 'team' ? undefined : string;
resourceId?: T extends 'team' ? undefined : ParentIdType;
}): Promise<ResourcePermissionType[]> {
return MongoResourcePermission.find(
{
Expand Down

0 comments on commit 2bc426f

Please sign in to comment.