Skip to content

Commit e3ecfe6

Browse files
authored
Merge pull request #3323 from bluewave-labs/develop
develop -> master
2 parents f4664ee + 288b677 commit e3ecfe6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/deploy-images.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ jobs:
102102
context: .
103103
file: ./docker/dist-arm/server.Dockerfile
104104
push: true
105+
no-cache: true
105106
tags: |
106107
ghcr.io/bluewave-labs/checkmate-backend-mono-multiarch:latest
107108
platforms: linux/amd64,linux/arm64

server/src/middleware/verifyStatusPageAccess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { AppError } from "@/utils/AppError.js";
55
export const createVerifyStatusPageAccess = (statusPagesRepository: IStatusPagesRepository, verifyJWT: RequestHandler) => {
66
return async (req: Request, res: Response, next: NextFunction) => {
77
try {
8-
const url = req.params.url;
8+
const url = Array.isArray(req.params.url) ? req.params.url[0] : req.params.url;
99
if (!url) {
1010
throw new AppError({ message: "Status page URL is required", status: 400 });
1111
}

0 commit comments

Comments
 (0)