diff --git a/apps/server/src/infra/etherpad-client/etherpad-client.module.ts b/apps/server/src/infra/etherpad-client/etherpad-client.module.ts index f0d5cc6f5c5..3230fcf1c48 100644 --- a/apps/server/src/infra/etherpad-client/etherpad-client.module.ts +++ b/apps/server/src/infra/etherpad-client/etherpad-client.module.ts @@ -6,9 +6,6 @@ import { EtherpadClientAdapter } from './etherpad-client.adapter'; export interface EtherpadClientConfig extends ConfigurationParameters { apiKey?: string; basePath?: string; - cookieExpiresSeconds: number; - cookieReleaseThreshold: number; - padURI: string; } @Module({}) diff --git a/apps/server/src/modules/collaborative-text-editor/config.ts b/apps/server/src/modules/collaborative-text-editor/config.ts index 8d8d7a8b075..1afc27483e9 100644 --- a/apps/server/src/modules/collaborative-text-editor/config.ts +++ b/apps/server/src/modules/collaborative-text-editor/config.ts @@ -4,11 +4,4 @@ import { EtherpadClientConfig } from '@src/infra/etherpad-client'; export const etherpadClientConfig: EtherpadClientConfig = { apiKey: Configuration.has('ETHERPAD_API_KEY') ? (Configuration.get('ETHERPAD_API_KEY') as string) : undefined, basePath: Configuration.has('ETHERPAD_URI') ? (Configuration.get('ETHERPAD_URI') as string) : undefined, - cookieExpiresSeconds: Configuration.has('ETHERPAD_COOKIE__EXPIRES_SECONDS') - ? (Configuration.get('ETHERPAD_COOKIE__EXPIRES_SECONDS') as number) - : 1000, - cookieReleaseThreshold: Configuration.has('ETHERPAD_COOKIE_RELEASE_THRESHOLD') - ? (Configuration.get('ETHERPAD_COOKIE_RELEASE_THRESHOLD') as number) - : 1000, - padURI: Configuration.has('ETHERPAD__PAD_URI') ? (Configuration.get('ETHERPAD__PAD_URI') as string) : '', };