diff --git a/helpers/functions.js b/helpers/functions.js index a21c9973..bb16b735 100644 --- a/helpers/functions.js +++ b/helpers/functions.js @@ -1,6 +1,6 @@ const moment = require("moment"), - resolve = require("path"), - Canvas = require("@napi-rs/canvas"); + Canvas = require("@napi-rs/canvas"), + { resolve } = require("path"); Canvas.registerFont(resolve("./assets/fonts/RubikMonoOne-Regular.ttf"), { family: "RubikMonoOne" }); Canvas.registerFont(resolve("./assets/fonts/KeepCalm-Medium.ttf"), { family: "KeepCalm" });