Skip to content

Commit

Permalink
馃弾
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Apr 2, 2023
1 parent 9bb7da3 commit 3f5d8e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/chatgpt-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,10 @@ export class ChatGPTAPI {
}
}

return Promise.all([ this._upsertMessage(latestQuestion), this._upsertMessage(message) ]).then(() => message)
return Promise.all([
this._upsertMessage(latestQuestion),
this._upsertMessage(message)
]).then(() => message)
})

if (timeoutMs) {
Expand Down

0 comments on commit 3f5d8e6

Please sign in to comment.