Bugfic Veranlagungen

This commit is contained in:
2024-10-23 16:08:22 +02:00
parent ca19bbfa09
commit f41c40a72d
2 changed files with 5 additions and 4 deletions

View File

@@ -58,8 +58,8 @@ Public Class cMSEAPI
Dim curDateTime As Integer = jwt.GenNumericDate(0)
' Set the timestamp defining an expiration time (end time) for the token
' to be now + 1 hour (3600 seconds)
success = claims.AddIntAt(-1, "exp", curDateTime + 1000)
' to be now + 10 MIN (600 seconds)
success = claims.AddIntAt(-1, "exp", curDateTime + 600)
jwt.AutoCompact = True
@@ -105,7 +105,7 @@ Public Class cMSEAPI
rest.AddHeader("X-API-Key", jwt)
rest.IdleTimeoutMs = 30000
rest.IdleTimeoutMs = 1000000
Dim responseJson As String = rest.FullRequestNoBody("GET", "/v1/transactions/new")
If (rest.LastMethodSuccess <> True) Then