File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ module.exports = {
164
164
"N+nS7Sqo3RJ04+KlNRUclzINOC7JBYkKtG7YQ0U9nNLkRrRlON+O6tY4OT86T1O1\n" +
165
165
"AgMBAAE=\n" +
166
166
"-----END PUBLIC KEY-----" ,
167
- discordServicePrivateKey :
167
+ privateKey :
168
168
"-----BEGIN RSA PRIVATE KEY-----\n" +
169
169
"MIIEoQIBAAKCAQBK3CkprcpAYxme7vtdjpWOgFFjoYsqU3OmhMEty/s1gnW5tgbK\n" +
170
170
"4ief4xk+cU+mu3YvjzWudT/SV17tAWxL4Y+GincJwL5gpQwlnw9qOAdRGkpBriQL\n" +
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const generateToken = (data) => {
20
20
* @return {String } - Generated JWT
21
21
*/
22
22
const generateDiscordServiceToken = ( data ) => {
23
- return jwt . sign ( data , config . get ( "discordServiceToken.discordServicePrivateKey " ) , {
23
+ return jwt . sign ( data , config . get ( "discordService.privateKey " ) , {
24
24
algorithm : "RS256" ,
25
25
expiresIn : "1m" ,
26
26
} ) ;
You can’t perform that action at this time.
0 commit comments