Skip to content

Commit 8b701fe

Browse files
committed
Remove unused variables from app-config.module.ts
They were added because of the rebase. But now these variables have moved to app-config.service.ts
1 parent b1bc32e commit 8b701fe

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/app/app-config.module.ts

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,12 @@ export const APP_CONFIG = new InjectionToken<AppConfig>("app.config");
55

66
export class AppConfig {
77
production = true;
8-
facility = "";
9-
oaiProviderRoute = "";
10-
doiBaseUrl = "";
11-
directMongoAccess = true;
12-
accessDataHref = "";
13-
accessInstructions = "";
14-
scicatBaseUrl = "";
15-
showLogoBanner = true;
16-
retrieveToEmail:
17-
| {
18-
title: string;
19-
option: string;
20-
username: string;
21-
confirmMessage?: string;
22-
}
23-
| undefined = undefined;
248
statusMessage = "";
259
statusCode: "INFO" | "WARN" | "NONE" = "NONE";
2610
}
2711

2812
export const APP_DI_CONFIG: AppConfig = {
2913
production: environment.production,
30-
facility: environment.facility ?? "",
31-
oaiProviderRoute: environment.oaiProviderRoute ?? "",
32-
doiBaseUrl: environment.doiBaseUrl ?? "",
33-
directMongoAccess: environment.directMongoAccess ?? false,
34-
accessDataHref: environment.accessDataHref ?? "",
35-
accessInstructions: environment.accessInstructions ?? "",
36-
scicatBaseUrl: environment.scicatBaseUrl ?? "",
37-
showLogoBanner: environment.showLogoBanner ?? false,
38-
retrieveToEmail: environment["retrieveToEmail"] ?? undefined,
3914
statusMessage: environment["statusMessage"] || "",
4015
statusCode: (["INFO", "WARN", "NONE"].includes(environment["statusCode"])
4116
? environment["statusCode"]

0 commit comments

Comments
 (0)