Skip to content

Commit 6302269

Browse files
authored
Merge pull request #55 from kanda-co/fix/ip-tracking
Fix: IP tracking
2 parents ff3b697 + c270873 commit 6302269

File tree

1 file changed

+1
-1
lines changed
  • ks-component-ts/src/field/components/FingerprintBooleanInput/FingerprintBooleanInputUncontrolled

1 file changed

+1
-1
lines changed

ks-component-ts/src/field/components/FingerprintBooleanInput/FingerprintBooleanInputUncontrolled/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface IpResponse {
77
const handleResponse = async (
88
response: Response
99
): Promise<IpResponse | null> => {
10-
if (response.statusText === "OK") {
10+
if (response.ok) {
1111
const json = await response.json();
1212
return json;
1313
}

0 commit comments

Comments
 (0)