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
Recently, the node method has been returning non-JSON strings to the callback function and I can't figure out why. This used to work before. My function looks like this:
The first time it returns a correct object. But the second and third time this function is called, the results are malformed. Any idea what might be going on?
The text was updated successfully, but these errors were encountered:
@volkanunsal could you try this using the function keyword instead of ES6's fat arrows? My suspicion is that since you are able to work with this inside the node callback, the Oboe code also uses this. Using the fat arrow changes the binding on this, which changes it for all the later instances.
Just a hunch though, hopefully we can verify if that's the case!
Recently, the node method has been returning non-JSON strings to the callback function and I can't figure out why. This used to work before. My function looks like this:
The JSON object from the server looks like this:
The first time it returns a correct object. But the second and third time this function is called, the results are malformed. Any idea what might be going on?
The text was updated successfully, but these errors were encountered: