I am trying to amend the login so it records the last date a user was logged in. The login works and has worked for a while now - following the tutorial on Xano*Toddle from YT.
I updated the auth/login in Xano so it accepts a date, and it works perfectly in Xano. In addition to returning the auth token, it patches the user record with the current date.
However in toddle, the reponse is odd: when I click on the '▷' sign in the API editor when including NOW in the body as 'login_time', nothing happens. The API call is logged in Xano as successful and is showing an auth token in Xano. But in toddle it does not show up. It changes from Loading: false to Loading: true and back for 1 second. Within this time, the auth token shows up in the editor in toddle but vanishes again (more like flickering than actually showing up). This new login also does not work in preview.
To debug, I copied the login API call in toddle and removed the login time again from the body. This still works and returns the auth token. Am I overlooking something with the 'Now' formula that affects this?
Can't post many pictures as it is all auth related, but thus is the part of the formula I use for the datetime.