mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-01 11:41:14 +08:00
add comment
This commit is contained in:
1 parent
d456cffc4a
commit
a7ff5e5f21
1 file changed
+1
@@ -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