def configDiagnostic()

in app/controllers/Application.scala [40:49]


  def configDiagnostic(repoId: RepoId) = repoAuthenticated(repoId).async { implicit req =>
    for {
      repoFetchedByProut <- bot.github.getRepo(repoId)
      proutPresenceQuickCheck <- repoAcceptListService.hasProutConfigFile(repoFetchedByProut)
      repoSnapshot <- repoSnapshotFactory.snapshot(repoFetchedByProut.repoId)
      diagnostic <- repoSnapshot.diagnostic()
    } yield {
      Ok(views.html.userPages.repo(proutPresenceQuickCheck, repoSnapshot, diagnostic, sentryApiClientOpt))
    }
  }