kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/659/head
rodzic
e54582f344
commit
0b52b5c1e6
|
@ -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<socialdata.UserResponse>()
|
||||
return this._handleResponse(
|
||||
this.ky.get(`twitter/user/${userId}`).json<socialdata.UserResponse>()
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue