diff --git a/server/src/lib/utils/RequestUrlGetter.ts b/server/src/lib/utils/RequestUrlGetter.ts index b4a174f6..ca3982c3 100644 --- a/server/src/lib/utils/RequestUrlGetter.ts +++ b/server/src/lib/utils/RequestUrlGetter.ts @@ -6,7 +6,7 @@ import HasHeader from "../..//utils/HasHeader"; export class RequestUrlGetter { static getOriginalUrl(req: Express.Request): string { - if HasHeader(req, Constants.HEADER_X_ORIGINAL_URL) { + if (HasHeader(req, Constants.HEADER_X_ORIGINAL_URL)) { return GetHeader(req, Constants.HEADER_X_ORIGINAL_URL); }