fix updated subscription always show failed in the rss handler logs

This commit is contained in:
Hongbo Wu 2023-10-11 14:44:39 +08:00
parent aef6bf559a
commit caa5969940

View file

@ -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)