Skip to content

Commit

Permalink
Merge pull request #137 from fuergaosi233/hotfix/fix-token-freeze
Browse files Browse the repository at this point in the history
🚑️ Fix if token expired, message will not send
  • Loading branch information
fuergaosi233 authored Dec 9, 2022
2 parents b499481 + 746c5f6 commit 77bef23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chatgpt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class ChatGPTPoole {
): item is IChatGPTItem & {
account: AccountWithUserInfo;
chatGpt: ChatGPTAPI;
} => item?.email === account.email
} => item.account.email === account.email
);
if (chatGPTItem) {
await this.cache.delete(account.email);
Expand Down

0 comments on commit 77bef23

Please sign in to comment.