diff --git a/lib/imgur.js b/lib/imgur.js index 95da3e93..76610e00 100644 --- a/lib/imgur.js +++ b/lib/imgur.js @@ -445,7 +445,7 @@ imgur.search = async (query, options) => { delete params.queryStr; const json = await imgur._imgurRequest('search', queryStr); - return { data: json, params }; + return { ...json, params }; } };