mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 05:19:49 +00:00
Requested changes
This commit is contained in:
@@ -119,7 +119,7 @@ export const projectBotServiceFactory = ({
|
||||
throw new BadRequestError({ message: "Failed to find project by bot ID" });
|
||||
}
|
||||
|
||||
if (project.version === "v2") {
|
||||
if (project.version === ProjectVersion.V2) {
|
||||
throw new BadRequestError({ message: "Failed to set bot active, project has a default bot enabled" });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user