mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-08-19 23:24:05 -05:00
wrong feeling_id check
This commit is contained in:
@@ -198,7 +198,7 @@ PostSchema.method<HydratedPostDocument>('json', function json(options: PostToJSO
|
||||
}
|
||||
|
||||
// * Some sanity checks
|
||||
if (post.feeling_id < 5) {
|
||||
if (post.feeling_id > 5) {
|
||||
post.feeling_id = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user