Skip to content

Commit 7647e1f

Browse files
fix: use correct header
1 parent aca3f69 commit 7647e1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/application/PassController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class PassController {
6161
const updatedReservationPass = await this.getUpdatedPassUseCase.execute({ passTypeIdentifier, serialNumber });
6262
const pass = await this.passAdapter.get(updatedReservationPass);
6363
const lastUpdated = dayjs(updatedReservationPass.updatedAt).utc().format('ddd, DD, MMM, YYYY HH:mm:ss');
64-
return h.response(pass).code(200).type('application/vnd.apple.pkpass').header('Last-Updated', `${lastUpdated} GMT`);
64+
return h.response(pass).code(200).type('application/vnd.apple.pkpass').header('Last-Modified', `${lastUpdated} GMT`);
6565
}
6666

6767
async create(request, h) {

0 commit comments

Comments
 (0)