Skip to content

Commit a372107

Browse files
joyguptaapankajjs
authored andcommitted
refactor: Rename discordServiceToken to discordService and update publicKey structure
1 parent fd1667b commit a372107

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

config/custom-environment-variables.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ module.exports = {
100100
botPublicKey: "BOT_PUBLIC_KEY",
101101
},
102102

103-
discordServiceToken: {
104-
discordServicePublicKey: "DISCORD_SERVICE_PUBLIC_KEY",
103+
discordService: {
104+
publicKey: "DISCORD_SERVICE_PUBLIC_KEY",
105105
},
106106

107107
cronJobHandler: {

config/default.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ module.exports = {
9595
botPublicKey: "<botpublicKey>",
9696
},
9797

98-
discordServiceToken: {
99-
discordServicePublicKey: "DISCORD_SERVICE_PUBLIC_KEY",
98+
discordService: {
99+
publicKey: "DISCORD_SERVICE_PUBLIC_KEY",
100100
},
101101

102102
// Cloudinary keys

0 commit comments

Comments
 (0)