Skip to content

Commit

Permalink
Merge pull request #983 from hmrc/BDOG-BAU
Browse files Browse the repository at this point in the history
BDOG-BAU create-app-config - fix has mongo backup lookup
  • Loading branch information
Shnick authored Jan 2, 2025
2 parents 399ee44 + 4edbdc6 commit 4a3844f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class CreateAppConfigsController @Inject()(
requiresMongo <- optSlugInfo match
case Some(slugInfo) => EitherT.rightT[Future, Result](slugInfo.dependencyDotCompile.exists(_.contains("mongo")))
case None => EitherT.liftF[Future, Result, Boolean]:
gitHubProxyConnector.getGitHubProxyRaw(s"/$serviceName/main/project/AppDependencies.scala")
gitHubProxyConnector.getGitHubProxyRaw(s"/${serviceName.asString}/main/project/AppDependencies.scala")
.map(_.exists(_.contains("mongo")))
id <- EitherT(buildDeployApiConnector.createAppConfigs(form, serviceName, serviceType, requiresMongo, isApi))
.leftMap: errMsg =>
Expand Down

0 comments on commit 4a3844f

Please sign in to comment.