api: fix set_board_member_permission
api: fix set_board_member_permission

If the data is passed as a boolean, through json, data.toLowerCase()
raises an error.

Also define query which we are returning in case of success.

wekan/wekan,GhassenRjab/wekan,wekan/wekan,libreboard/libreboard,GhassenRjab/wekan,wekan/wekan,GhassenRjab/wekan,wekan/wekan,wekan/wekan,libreboard/libreboard