All file imports change from commonjs to es-module
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const establishedDatabase = require("../../database/database");
|
||||
import establishedDatabase from "../../database/database";
|
||||
|
||||
/* eslint-disable consistent-return */
|
||||
const mustHaveAccountLinkedToPlex = (req, res, next) => {
|
||||
@@ -33,4 +33,4 @@ const mustHaveAccountLinkedToPlex = (req, res, next) => {
|
||||
};
|
||||
/* eslint-enable consistent-return */
|
||||
|
||||
module.exports = mustHaveAccountLinkedToPlex;
|
||||
export default mustHaveAccountLinkedToPlex;
|
||||
|
||||
Reference in New Issue
Block a user