diff --git a/src/services/social-data-client.ts b/src/services/social-data-client.ts index 0dd40ec..eb421c4 100644 --- a/src/services/social-data-client.ts +++ b/src/services/social-data-client.ts @@ -280,7 +280,9 @@ export class SocialDataClient extends AIFunctionsProvider { const { userId } = typeof idOrOpts === 'string' ? { userId: idOrOpts } : idOrOpts - return this.ky.get(`twitter/user/${userId}`).json() + return this._handleResponse( + this.ky.get(`twitter/user/${userId}`).json() + ) } /**