diff options
Diffstat (limited to 'shared/extra-utils/moderation/abuses-command.ts')
-rw-r--r-- | shared/extra-utils/moderation/abuses-command.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/extra-utils/moderation/abuses-command.ts b/shared/extra-utils/moderation/abuses-command.ts index 7b3abb056..0db32ba46 100644 --- a/shared/extra-utils/moderation/abuses-command.ts +++ b/shared/extra-utils/moderation/abuses-command.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import { pick } from 'lodash' | 1 | import { pick } from '@shared/core-utils' |
2 | import { | 2 | import { |
3 | AbuseFilter, | 3 | AbuseFilter, |
4 | AbuseMessage, | 4 | AbuseMessage, |
@@ -81,7 +81,7 @@ export class AbusesCommand extends AbstractCommand { | |||
81 | searchVideo?: string | 81 | searchVideo?: string |
82 | searchVideoChannel?: string | 82 | searchVideoChannel?: string |
83 | } = {}) { | 83 | } = {}) { |
84 | const toPick = [ | 84 | const toPick: (keyof typeof options)[] = [ |
85 | 'count', | 85 | 'count', |
86 | 'filter', | 86 | 'filter', |
87 | 'id', | 87 | 'id', |
@@ -121,7 +121,7 @@ export class AbusesCommand extends AbstractCommand { | |||
121 | search?: string | 121 | search?: string |
122 | state?: AbuseState | 122 | state?: AbuseState |
123 | }) { | 123 | }) { |
124 | const toPick = [ | 124 | const toPick: (keyof typeof options)[] = [ |
125 | 'id', | 125 | 'id', |
126 | 'search', | 126 | 'search', |
127 | 'state', | 127 | 'state', |