backend: Fix import of sanitize-html
Some checks failed
Some checks failed
I'm not sure how it managed to work so far, but the function is the default export, using the namespace like a function should not have worked, maybe something under the hood was correcting it back
This commit is contained in:
parent
a91bbed34e
commit
eb369f4e88
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
import * as sanitizeHtml from 'sanitize-html';
|
||||
import sanitizeHtml from 'sanitize-html';
|
||||
import config from '@/config/index.js';
|
||||
import { publishAdminStream } from '@/services/stream.js';
|
||||
import { AbuseUserReports, Users } from '@/models/index.js';
|
||||
|
|
Loading…
Reference in a new issue