From e00eb637b78099e9f5ed0541a184c1ce8ae947e7 Mon Sep 17 00:00:00 2001 From: bluelovers Date: Fri, 14 Aug 2020 03:29:15 +0800 Subject: [PATCH] Update temporal.ts --- lib/temporal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/temporal.ts b/lib/temporal.ts index ed71812..89a4e8f 100644 --- a/lib/temporal.ts +++ b/lib/temporal.ts @@ -70,7 +70,7 @@ class Temporal { return res.data; }) .catch((err) => { - throw new Error(err.response.data.response); + throw new Error(err.response.data); }); } @@ -475,4 +475,4 @@ class Temporal { } } -module.exports = Temporal; \ No newline at end of file +module.exports = Temporal;