From caa596994015574a01ed1634f300d527ee699c4c Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Wed, 11 Oct 2023 14:44:39 +0800 Subject: [PATCH] fix updated subscription always show failed in the rss handler logs --- packages/rss-handler/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rss-handler/src/index.ts b/packages/rss-handler/src/index.ts index 2440ef520..9c37e22f9 100644 --- a/packages/rss-handler/src/index.ts +++ b/packages/rss-handler/src/index.ts @@ -70,7 +70,7 @@ const sendUpdateSubscriptionMutation = async ( ) /* eslint-disable @typescript-eslint/no-unsafe-member-access */ - return !!response.data.data.savePage + return !!response.data.data.updateSubscription.subscription } catch (error) { if (axios.isAxiosError(error)) { console.error('update subscription mutation error', error.message)