From 9197167f412fd4eb42422f419eef996f4407b73b Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sat, 15 Jun 2024 21:39:11 +0500 Subject: [PATCH] big fuck up --- helpers/functions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" });