Эх сурвалжийг харах

Fixed eslint backend issues

Kristian Vos 4 жил өмнө
parent
commit
efb8500194

+ 2 - 1
backend/logic/app.js

@@ -8,9 +8,10 @@ import cookieParser from "cookie-parser";
 import bodyParser from "body-parser";
 import express from "express";
 import oauth from "oauth";
-const { OAuth2 } = oauth;
 import CoreClass from "../core";
 
+const { OAuth2 } = oauth;
+
 class AppModule extends CoreClass {
 	constructor() {
 		super("app");

+ 2 - 1
backend/logic/spotify.js

@@ -1,10 +1,11 @@
 import config from "config";
 import async from "async";
 import oauth from "oauth";
-const { OAuth2 } = oauth;
 
 import CoreClass from "../core";
 
+const { OAuth2 } = oauth;
+
 let apiResults = {
 	access_token: "",
 	token_type: "",