Closed penberg closed 1 year ago
The isJwtTokenValid() function hammers the databases endpoint, which can be heavy-weight. Let's switch to the newly added user information endpoint instead: https://github.com/chiselstrike/iku-turso-api#get-user-information
isJwtTokenValid()
GetUserInfo requires user ID. Does CLI know that ID? I think I will just add another super simple endpoint just for user validation.
The
isJwtTokenValid()
function hammers the databases endpoint, which can be heavy-weight. Let's switch to the newly added user information endpoint instead: https://github.com/chiselstrike/iku-turso-api#get-user-information