X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fmiddlewares%2Fvalidators%2Fusers.ts;h=6d306121ef47bf86fb112cc25c09a3c9d612a014;hb=7a4fd56ccd86518a6b14c407fc977c7904337448;hp=bc6007c6d45b6b4233489989398d877ecca7a364;hpb=6d9ed0b6cb439f53e6df2aa1e751369bdc0f76ab;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/middlewares/validators/users.ts b/server/middlewares/validators/users.ts index bc6007c6d..6d306121e 100644 --- a/server/middlewares/validators/users.ts +++ b/server/middlewares/validators/users.ts @@ -486,7 +486,7 @@ const ensureAuthUserOwnsAccountValidator = [ if (res.locals.account.id !== user.Account.id) { return res.fail({ status: HttpStatusCode.FORBIDDEN_403, - message: 'Only owner of this account can access this ressource.' + message: 'Only owner of this account can access this resource.' }) }