We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d034000 commit cb8ef59Copy full SHA for cb8ef59
server/models/Report.js
@@ -6,19 +6,19 @@ const reportSchema = new mongoose.Schema({
6
totalCount: { type: Number },
7
reporter: [{ type: String }],
8
typeCount: {
9
- 1: {
+ sexual: {
10
content: { type: String, default: '성희롱' },
11
count: { type: Number, default: 0, required: true },
12
},
13
- 2: {
+ abuse: {
14
content: { type: String, default: '욕설' },
15
16
17
- 3: {
+ malicious: {
18
content: { type: String, default: '악의적' },
19
20
21
- 4: {
+ spam: {
22
content: { type: String, default: '스팸(광고)' },
23
24
0 commit comments