bee
bee copied to clipboard
Fix --restricted option on bee API
The --restricted option is being used by some calls on both the /bee and /debug APIs with the default value being false. On the /bee API, when the option is set to false, we get a 404 error, while when it is set to true, we get a 403. On the /debug API it works as expected.
We need to fix the functionality of --restricted.