Closed jgaehring closed 2 years ago
Actually, I'm pretty sure I was wrong about this. The problem seems to be in FK, where the new host is being overwritten inadvertantly in the setHost
helper. It should be resolved by farmOS/farmOS-client@cdd76bf.
For good measure I also added an extra test to verify remote.add()
should be working (e244309), and also caught another bug that should be fixed now (21996ff). Bumped it up to beta.5 for those changes.
From https://github.com/farmOS/farmOS-client/issues/468#issuecomment-1004115085:
I think the issue is here:
https://github.com/farmOS/farmOS.js/blob/7781ec7574bcb23f05b1c983633d819bca77ed3f/src/index.js#L68
I should probably be using
this
instead offarm
.