Hi! This was fixed on Friday in our sandbox server, can you “git pull” on your local code to get the latest code and test against the sandbox server? (it was bugging me too, so I looked into it and finally resolved it)
That’s weird! Are they different user types, like the one that had an error was a Field Officer, and the one that didn’t is an Agency Administrator? We’re still working out some permissions issues, so it would be helpful to know.
Yes, that’s actually true. Good catch!
I checked, and the one that is getting the error was a Field Officer, and the newly one I created got the default Agency Admin, so it worked
If you’re interested, I fixed it today (on the sandbox), the fix was to put an if statement around the block of code so it doesn’t run if inboundPartnerAgencies is null (because the function just returns the agency name and shared agencies, to the agency variable). See Update get-data.js by Sheeri · Pull Request #355 · WildAid/o-fish-web · GitHub