Skip to content

Commit

Permalink
Merge branch 'master' into sqlite-overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Moschkin committed Feb 8, 2024
2 parents f46f0f5 + 77c067a commit 831654e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/logic/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export class ApiClass {
async getVoyages(crew?: string[], days?: number, opAnd?: boolean) {
days ??= 7;
if (days <= 0) days = 1;
if (days > 31) days = 31;
if (days > 60) days = 60;
if (!crew?.length && days > 3) days = 3;

Logger.info('Get voyages', { crew, days });
Expand Down

0 comments on commit 831654e

Please sign in to comment.