diff --git a/packages/rss-handler/src/index.ts b/packages/rss-handler/src/index.ts index f4d559b78..66d3d9f49 100644 --- a/packages/rss-handler/src/index.ts +++ b/packages/rss-handler/src/index.ts @@ -8,17 +8,13 @@ import { CONTENT_FETCH_URL, createCloudTask } from './task' interface RssFeedRequest { subscriptionId: string - userId: string feedUrl: string lastFetchedAt: string } function isRssFeedRequest(body: any): body is RssFeedRequest { return ( - 'subscriptionId' in body && - 'userId' in body && - 'feedUrl' in body && - 'lastFetchedAt' in body + 'subscriptionId' in body && 'feedUrl' in body && 'lastFetchedAt' in body ) }