Fixed linter

This commit is contained in:
Kasra Bigdeli
2021-09-08 19:17:50 -07:00
parent aaddb62fa4
commit dcd5c69d42
+1 -1
View File
@@ -101,7 +101,7 @@ export function injectUserForBuildTrigger() {
const namespace = locals.namespace
const appName = req.params.appName as string
if (!!req.header(CaptainConstants.headerAuth)) {
if (req.header(CaptainConstants.headerAuth)) {
// Auth header is present, skip user injection for app token
next()
return