Skip to content

Commit

Permalink
feat: logintoken retry
Browse files Browse the repository at this point in the history
  • Loading branch information
lovelyCARDINAL committed Dec 24, 2023
1 parent 55a1a65 commit 552b70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class MediaWikiApi {
lgname: string,
lgpassword: string,
params?: MwApiParams,
postOptions?: { retry?: number; noCache?: boolean }
postOptions?: { retry?: number; noCache?: boolean, tokenRetry?: number }
): Promise<{
result: 'Success' | 'NeedToken' | 'WrongToken' | 'Failed'
token?: string
Expand Down

0 comments on commit 552b70a

Please sign in to comment.