mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 07:28:21 +00:00
Update project-bot-service.ts
This commit is contained in:
@@ -120,7 +120,7 @@ export const projectBotServiceFactory = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (project.version === ProjectVersion.V2) {
|
if (project.version === ProjectVersion.V2) {
|
||||||
throw new BadRequestError({ message: "Failed to set bot active, project has a default bot enabled" });
|
throw new BadRequestError({ message: "Failed to set bot active for upgraded project. Bot is already active" });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isActive) {
|
if (isActive) {
|
||||||
|
|||||||
Reference in New Issue
Block a user