Skip to content

Commit 1f3efca

Browse files
committed
Adjusts moderation rule content target type
1 parent 431d27c commit 1f3efca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/utils/mod-rules.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { ModerationRuleAction, TagSource } from '~/shared/utils/prisma/enums';
2929

3030
export type ContentRule = {
3131
type: 'content';
32-
target: ('prompt' | 'title' | 'description')[];
32+
target: ('prompt' | 'name' | 'description')[];
3333
match: string; // Can be a regex (i.e.: /robot/gmi) or a simple string
3434
};
3535

0 commit comments

Comments
 (0)