From 90b1301193e1d315001d3206711007373a20aba0 Mon Sep 17 00:00:00 2001 From: Will Hunt <will@half-shot.uk> Date: Fri, 26 Oct 2018 00:44:35 +0100 Subject: [PATCH] Apparently we never use secret --- config/config.sample.yaml | 1 - config/config.schema.yaml | 4 +--- src/config.ts | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/config/config.sample.yaml b/config/config.sample.yaml index 7640f79..2b83505 100644 --- a/config/config.sample.yaml +++ b/config/config.sample.yaml @@ -36,7 +36,6 @@ bridge: # Authentication configuration for the discord bot. auth: clientID: "12345" - secret: "blah" botToken: "foobar" logging: # What level should the logger output to the console at. diff --git a/config/config.schema.yaml b/config/config.schema.yaml index 24c409e..56de3a8 100644 --- a/config/config.schema.yaml +++ b/config/config.schema.yaml @@ -28,12 +28,10 @@ properties: type: "boolean" auth: type: "object" - required: ["botToken"] + required: ["botToken", "clientID"] properties: clientID: type: "string" - secret: - type: "string" botToken: type: "string" logging: diff --git a/src/config.ts b/src/config.ts index bb35047..c231adc 100644 --- a/src/config.ts +++ b/src/config.ts @@ -47,7 +47,6 @@ export class DiscordBridgeConfigDatabase { export class DiscordBridgeConfigAuth { public clientID: string; - public secret: string; public botToken: string; } -- GitLab