From 669ee55788651f9dce556ce58c737afa0c828eb7 Mon Sep 17 00:00:00 2001 From: Alexander Klein Date: Wed, 24 Feb 2021 16:42:59 +0100 Subject: [PATCH] fix(api): inconsistent default message on domain name error --- pages/api/website/[id]/metrics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/website/[id]/metrics.js b/pages/api/website/[id]/metrics.js index e747ef21..94233ef2 100644 --- a/pages/api/website/[id]/metrics.js +++ b/pages/api/website/[id]/metrics.js @@ -34,7 +34,7 @@ export default async (req, res) => { const { id, type, start_at, end_at, domain, url } = req.query; if (domain && !DOMAIN_REGEX.test(domain)) { - return badRequest(res, 'error.bad-domain\tInvalid domain name - please check settings'); + return badRequest(res, 'error.bad-domain\tInvalid domain name. Please check settings.'); } const websiteId = +id;