Samyak Bakliwal 5 лет назад
Родитель
Сommit
cdf0a13f77
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      server/handlers/auth.ts

+ 1 - 1
server/handlers/auth.ts

@@ -38,7 +38,7 @@ const authenticate = (
       }
       }
 
 
       if (user && user.banned) {
       if (user && user.banned) {
-        throw new CustomError("Your are banned from using this website.", 403);
+        throw new CustomError("You're banned from using this website.", 403);
       }
       }
 
 
       if (user) {
       if (user) {