aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/helpers/custom-validators/video-rates.ts
blob: f2b6f7caeab9ac40436844008781c09b4a98216b (plain) (tree)
1
2
3
4
5



                                                
function isRatingValid (value: any) {
  return value === 'like' || value === 'dislike'
}

export { isRatingValid }