Fix lint error

This commit is contained in:
ViViDboarder 2019-03-28 17:44:11 -07:00 committed by Clément Michaud
parent 0922b3c215
commit 356b82f443

View File

@ -6,7 +6,7 @@ import HasHeader from "../..//utils/HasHeader";
export class RequestUrlGetter { export class RequestUrlGetter {
static getOriginalUrl(req: Express.Request): string { 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); return GetHeader(req, Constants.HEADER_X_ORIGINAL_URL);
} }