From 05e3e9c18525c478714d5eb0a7f262ab9e86ff1f Mon Sep 17 00:00:00 2001 From: Romchela Date: Wed, 22 Nov 2023 17:14:32 +0700 Subject: [PATCH 1/2] Add originTimezone field in VpnResult --- schemas/fingerprint-server-api.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schemas/fingerprint-server-api.yaml b/schemas/fingerprint-server-api.yaml index d19ae070..e6340c4a 100644 --- a/schemas/fingerprint-server-api.yaml +++ b/schemas/fingerprint-server-api.yaml @@ -1426,6 +1426,10 @@ components: type: boolean description: VPN or other anonymizing service has been used when sending the request. example: false + originTimezone: + type: string + description: Local timezone which is used in timezoneMismatch method. + example: 'Europe/Berlin' methods: type: object properties: From bf0072a862fca82cc3d77f98415811f0de1d576d Mon Sep 17 00:00:00 2001 From: Romchela Date: Wed, 22 Nov 2023 19:07:15 +0700 Subject: [PATCH 2/2] Add originTimezone to examples --- examples/get_event.json | 1 + examples/webhook.json | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/get_event.json b/examples/get_event.json index 90abb41c..a9fd9861 100644 --- a/examples/get_event.json +++ b/examples/get_event.json @@ -139,6 +139,7 @@ "vpn": { "data": { "result": false, + "originTimezone": "Europe/Berlin", "methods": { "timezoneMismatch": false, "publicVPN": false, diff --git a/examples/webhook.json b/examples/webhook.json index 9ad85c5f..79916180 100644 --- a/examples/webhook.json +++ b/examples/webhook.json @@ -118,6 +118,7 @@ }, "vpn": { "result": false, + "originTimezone": "Europe/Berlin", "methods": { "timezoneMismatch": false, "publicVPN": false,