move utils to seperate files and folder, update imports

This commit is contained in:
Michael C
2021-09-21 02:02:17 -04:00
parent d4d9f2d4d7
commit 5758f6512d
28 changed files with 201 additions and 54 deletions

View File

@@ -1,5 +1,6 @@
import fetch from "node-fetch";
import { getbaseURL, postJSON } from "../utils";
import { postJSON } from "../utils/utils";
import { getbaseURL } from "../utils/getBaseURL";
import { getHash } from "../../src/utils/getHash";
import { db } from "../../src/databases/databases";
import assert from "assert";