diff options
author | luz paz <luzpaz@pm.me> | 2022-06-07 09:45:06 -0400 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-06-07 16:41:21 +0200 |
commit | 7a4fd56ccd86518a6b14c407fc977c7904337448 (patch) | |
tree | 6cf30232dff7f1a0740f0d240eb173da033e272b /server/middlewares/validators/users.ts | |
parent | 6d9ed0b6cb439f53e6df2aa1e751369bdc0f76ab (diff) | |
download | PeerTube-7a4fd56ccd86518a6b14c407fc977c7904337448.tar.gz PeerTube-7a4fd56ccd86518a6b14c407fc977c7904337448.tar.zst PeerTube-7a4fd56ccd86518a6b14c407fc977c7904337448.zip |
Fix various typos
Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
Diffstat (limited to 'server/middlewares/validators/users.ts')
-rw-r--r-- | server/middlewares/validators/users.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 = [ | |||
486 | if (res.locals.account.id !== user.Account.id) { | 486 | if (res.locals.account.id !== user.Account.id) { |
487 | return res.fail({ | 487 | return res.fail({ |
488 | status: HttpStatusCode.FORBIDDEN_403, | 488 | status: HttpStatusCode.FORBIDDEN_403, |
489 | message: 'Only owner of this account can access this ressource.' | 489 | message: 'Only owner of this account can access this resource.' |
490 | }) | 490 | }) |
491 | } | 491 | } |
492 | 492 | ||