From 6e7fbdae58694d159e583c13a23cbea21477af2f Mon Sep 17 00:00:00 2001 From: Charlie <38315638+Xarlizard@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:21:47 +0100 Subject: [PATCH] Typo fix 'request' function had an error referencing to itself as 'fetch' function --- exercises/concept/translation-service/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/translation-service/api.js b/exercises/concept/translation-service/api.js index e0284a6ec2..c4ab682f0a 100644 --- a/exercises/concept/translation-service/api.js +++ b/exercises/concept/translation-service/api.js @@ -74,7 +74,7 @@ export class ExternalApi { if (typeof callback !== 'function') { throw new BadRequest( - `Expected callback function when calling fetch(text, callback), actual ${typeof callback}.`, + `Expected callback function when calling request(text, callback), actual ${typeof callback}.`, ); }