Run linter

This commit is contained in:
Tuan Dang
2023-08-07 11:25:06 +07:00
parent 373dfff8e0
commit 648968c453
40 changed files with 130 additions and 106 deletions
+4 -3
View File
@@ -1,9 +1,9 @@
import net from "net";
import { Types } from "mongoose";
import {
SecretBlindIndexData,
IServiceTokenData,
IServiceTokenData,
IUser,
SecretBlindIndexData,
Workspace,
} from "../models";
import {
@@ -78,9 +78,10 @@ export const validateClientForWorkspace = async ({
});
}
let membership;
switch (authData.actor.type) {
case ActorType.USER:
const membership = await validateUserClientForWorkspace({
membership = await validateUserClientForWorkspace({
user: authData.authPayload as IUser,
workspaceId,
environment,