mirror of
https://github.com/caprover/caprover
synced 2026-09-27 00:55:37 +00:00
Fixed linter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user