diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:03:18 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:03:18 +0200 |
commit | ebff2f42417e0e579d59d296f5150024f8c850ee (patch) | |
tree | 707b264d239859853411adb5142b64727debd51b /api/src/routes/channels/#channel_id/messages/bulk-delete.ts | |
parent | Fix naming (diff) | |
parent | abstract Event emission (diff) | |
download | server-ebff2f42417e0e579d59d296f5150024f8c850ee.tar.xz |
Merge branch 'master' into pr/darkhpp/261-2
Diffstat (limited to 'api/src/routes/channels/#channel_id/messages/bulk-delete.ts')
-rw-r--r-- | api/src/routes/channels/#channel_id/messages/bulk-delete.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/src/routes/channels/#channel_id/messages/bulk-delete.ts b/api/src/routes/channels/#channel_id/messages/bulk-delete.ts index e53cd597..8132462f 100644 --- a/api/src/routes/channels/#channel_id/messages/bulk-delete.ts +++ b/api/src/routes/channels/#channel_id/messages/bulk-delete.ts @@ -1,7 +1,7 @@ import { Router, Response, Request } from "express"; -import { ChannelModel, Config, getPermission, MessageDeleteBulkEvent, MessageModel } from "@fosscord/server-util"; +import { ChannelModel, Config, emitEvent, getPermission, MessageDeleteBulkEvent, MessageModel } from "@fosscord/util"; import { HTTPError } from "lambert-server"; -import { emitEvent } from "../../../../util/Event"; + import { check } from "../../../../util/instanceOf"; const router: Router = Router(); |