diff --git a/src/services/rest/index.ts b/src/services/rest/index.ts index 15b9beb..e921048 100644 --- a/src/services/rest/index.ts +++ b/src/services/rest/index.ts @@ -43,7 +43,7 @@ export class FlickrService { if (json.stat === "fail") { // @ts-expect-error throw new Error(json.message, { - cause: res, + cause: json, }) }