Change order of opts

This commit is contained in:
Yarmo Mackenbach 2021-04-16 13:03:01 +02:00
parent a3c11d6c80
commit 67b7ae685c
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -21,6 +21,13 @@ require('dotenv').config()
const opts = {
claims: {
irc: {
nick: process.env.IRC_NICK || null,
},
matrix: {
instance: process.env.MATRIX_INSTANCE || null,
accessToken: process.env.MATRIX_ACCESS_TOKEN || null,
},
xmpp: {
service: process.env.XMPP_SERVICE || null,
username: process.env.XMPP_USERNAME || null,
@ -29,13 +36,6 @@ const opts = {
twitter: {
bearerToken: process.env.TWITTER_BEARER_TOKEN || null,
},
matrix: {
instance: process.env.MATRIX_INSTANCE || null,
accessToken: process.env.MATRIX_ACCESS_TOKEN || null,
},
irc: {
nick: process.env.IRC_NICK || null,
},
},
}