You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging something else, we've found in our internal BeBanjo's logging system a series of duplicated API requests: one authorized, and another one unauthorized. After digging a bit on this, we've found this problem comes from the Almodovar gem.
@skuark I'm not able to reproduce this, meaning seen an authorized request followed by an authorized one.
Seen duplicated API calls when using Almodovar in console is expected. If you instantiate an Almodovar::Resource in a console, it's normal to see duplicate API calls because of how Almodovar is built: it delegates the inspect method to the HTTP call so everytime IRB outputs a value it will call inspect hence doing another request.
Do you have any other input (i.e. what user were you using, which Almodovar version, ...) ?
Orientation
While debugging something else, we've found in our internal BeBanjo's logging system a series of duplicated API requests: one authorized, and another one unauthorized. After digging a bit on this, we've found this problem comes from the Almodovar gem.
How to reproduce
By simply running this snippet locally…
…we can find duplicated requests in our logs for each call to the API:
This happens with other actions, non-only with
GET
requests.The text was updated successfully, but these errors were encountered: