Skip to content

Commit c15892d

Browse files
committed
fix: update validate method return type in CaptchaAdapter to return a Record
1 parent 8fe634c commit c15892d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/types/adapters/CaptchaAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ export interface CaptchaAdapter {
2626
/**
2727
* Validates the captcha token.
2828
*/
29-
validate(token: string, ip: string): Promise<boolean>;
29+
validate(token: string, ip: string): Promise<Record<string, any>>;
3030
}

0 commit comments

Comments
 (0)