mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-02 17:00:28 +08:00
add comment
This commit is contained in:
@@ -40,6 +40,7 @@ export const checkCaptcha = async (
|
||||
};
|
||||
};
|
||||
|
||||
// This function hasn't been tested yet, Cloudflare doesn't send `action` and `cdata` with a demo key.
|
||||
const getSuccess = (response: CheckCaptchaResponse, action: string | undefined, cdata: string | undefined) => {
|
||||
if (action === undefined && cdata === undefined) {
|
||||
return response.success;
|
||||
|
||||
Reference in New Issue
Block a user