diff --git a/src/models/post.ts b/src/models/post.ts index 8849074..663918a 100644 --- a/src/models/post.ts +++ b/src/models/post.ts @@ -198,7 +198,7 @@ PostSchema.method('json', function json(options: PostToJSO } // * Some sanity checks - if (post.feeling_id < 5) { + if (post.feeling_id > 5) { post.feeling_id = 0; }