From 67b7ae685ce73ab04e4da6172d6f6161a769b72c Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 16 Apr 2021 13:03:01 +0200 Subject: [PATCH] Change order of opts --- src/proxy/api/v2/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/proxy/api/v2/index.js b/src/proxy/api/v2/index.js index b0b9ec6..77a5aea 100644 --- a/src/proxy/api/v2/index.js +++ b/src/proxy/api/v2/index.js @@ -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, - }, }, }