fix(server/utils): fix mammoth and sanitize-html imports

(make it so that we're not importing a namespace instead of a default export)
This commit is contained in:
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ 2023-10-10 22:04:42 -04:00
parent b0e949df3b
commit dd74c8417a
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

View File

@ -1,8 +1,8 @@
import { extname, resolve } from "path";
import { readFileSync } from "fs";
import { marked } from "marked";
import * as mammoth from "mammoth";
import * as san from "sanitize-html";
import mammoth from "mammoth";
import san from "sanitize-html";
import { sanitizeConf } from "../constants";
import { FormChapter } from "~/lib/client/types/form/story";