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}.`, ); }