From 86c31eaaf6174dfe339b982edf57728f9b3d90c5 Mon Sep 17 00:00:00 2001 From: Vishnu Sreekumaran Nair <200557136@student.georgianc.on.ca> Date: Mon, 5 May 2025 16:06:24 -0400 Subject: [PATCH] add pagespeed key to settings validation --- client/src/Validation/validation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/Validation/validation.js b/client/src/Validation/validation.js index 38092c9e6..0e303c27f 100644 --- a/client/src/Validation/validation.js +++ b/client/src/Validation/validation.js @@ -255,6 +255,7 @@ const settingsValidation = joi.object({ ttl: joi.number().required().messages({ "string.empty": "TTL is required", }), + pagespeedApiKey: joi.string().allow("").optional(), }); const dayjsValidator = (value, helpers) => {