Init commit
This commit is contained in:
5
server/core/helpers/custom-validators/video-rates.ts
Normal file
5
server/core/helpers/custom-validators/video-rates.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
function isRatingValid (value: any) {
|
||||
return value === 'like' || value === 'dislike'
|
||||
}
|
||||
|
||||
export { isRatingValid }
|
||||
Reference in New Issue
Block a user