mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
chore(moderation): remove the built-in NCMEC integration (#3332)
This commit is contained in:
1 parent
f390e610b9
commit
454fefdb92
146 files changed
+234
-4075
No files matched your search
@@ -1,12 +0,0 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {APIErrorCodes} from '@fluxer/constants/src/ApiErrorCodes';
|
||||
import {ConflictError} from '@fluxer/errors/src/domains/core/ConflictError';
|
||||
|
||||
export class NcmecAlreadySubmittedError extends ConflictError {
|
||||
constructor() {
|
||||
super({
|
||||
code: APIErrorCodes.NCMEC_ALREADY_SUBMITTED,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
import {APIErrorCodes} from '@fluxer/constants/src/ApiErrorCodes';
|
||||
import {InternalServerError} from '@fluxer/errors/src/domains/core/InternalServerError';
|
||||
|
||||
export class NcmecSubmissionFailedError extends InternalServerError {
|
||||
constructor(reason?: string) {
|
||||
super({
|
||||
code: APIErrorCodes.NCMEC_SUBMISSION_FAILED,
|
||||
...(reason != null && {data: {reason}}),
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user