Browse Source

Fixed eslint backend issues

Kristian Vos 4 years ago
parent
commit
efb8500194
2 changed files with 4 additions and 2 deletions
  1. 2 1
      backend/logic/app.js
  2. 2 1
      backend/logic/spotify.js

+ 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: "",