diff options
Diffstat (limited to 'server/middlewares/validators/activitypub')
-rw-r--r-- | server/middlewares/validators/activitypub/signature.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/activitypub/signature.ts b/server/middlewares/validators/activitypub/signature.ts index 7c4e49463..7896a6128 100644 --- a/server/middlewares/validators/activitypub/signature.ts +++ b/server/middlewares/validators/activitypub/signature.ts | |||
@@ -14,7 +14,7 @@ const signatureValidator = [ | |||
14 | .custom(isSignatureTypeValid).withMessage('Should have a valid signature type'), | 14 | .custom(isSignatureTypeValid).withMessage('Should have a valid signature type'), |
15 | body('signature.created') | 15 | body('signature.created') |
16 | .optional() | 16 | .optional() |
17 | .custom(isDateValid).withMessage('Should have a valid signature created date'), | 17 | .custom(isDateValid).withMessage('Should have a signature created date that conforms to ISO 8601'), |
18 | body('signature.creator') | 18 | body('signature.creator') |
19 | .optional() | 19 | .optional() |
20 | .custom(isSignatureCreatorValid).withMessage('Should have a valid signature creator'), | 20 | .custom(isSignatureCreatorValid).withMessage('Should have a valid signature creator'), |