From ac5f42b7adaa33a3aafa63163dbb7aeb2406135e Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Mon, 21 Mar 2022 09:07:54 +0000 Subject: [PATCH] Added missing message string - we use this property in the code but it was missing from the messages object - this was causing an error in the `tpl` library so this commit adds the correct message --- core/server/services/oembed.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/server/services/oembed.js b/core/server/services/oembed.js index 3317a221d3..d521ce4cf9 100644 --- a/core/server/services/oembed.js +++ b/core/server/services/oembed.js @@ -9,7 +9,8 @@ const {CookieJar} = require('tough-cookie'); const messages = { noUrlProvided: 'No url provided.', - insufficientMetadata: 'URL contains insufficient metadata.' + insufficientMetadata: 'URL contains insufficient metadata.', + unknownProvider: 'No provider found for supplied URL.' }; /**