Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
linusnorton committed Feb 25, 2024
1 parent 5600ad1 commit 367f8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/journey/controller/JourneyController.ts
Expand Up @@ -41,7 +41,7 @@ export class JourneyController {
const factory = await this.getJourneyFactory(form.memberId!);
const isQrScan = typeof form.deviceId === "string" && form.deviceId.length > 5;
const journey = await factory.create(
[form.memberId + "", form.date!, form.mode, form.distance, form.latitude, form.longitude, form.type],
[form.memberId + "", form.date!, form.mode, form.distance, form.latitude, form.longitude, undefined, form.type],
ctx.adminUserId || JourneyController.SELF_REPORT_USER,
isQrScan ? form.deviceId?.substr(0, 25) : ""
);
Expand Down

0 comments on commit 367f8a0

Please sign in to comment.