Skip to content

Commit c2d7601

Browse files
committed
api/core: remove durationLimit from server info
it's not used, no clue why it was here in the first place
1 parent 0b36aa0 commit c2d7601

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

api/src/core/api.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ export const runAPI = async (express, app, __dirname, isPrimary = true) => {
5454
version: version,
5555
url: env.apiURL,
5656
startTime: `${startTimestamp}`,
57-
durationLimit: env.durationLimit,
5857
turnstileSitekey: env.sessionEnabled ? env.turnstileSitekey : undefined,
5958
services: [...env.enabledServices].map(e => {
6059
return friendlyServiceName(e);

web/src/lib/types/api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export type CobaltServerInfo = {
9292
version: string,
9393
url: string,
9494
startTime: string,
95-
durationLimit: number,
9695
turnstileSitekey?: string,
9796
services: string[]
9897
},

0 commit comments

Comments
 (0)