helpdesk-z / helpdeskz-dev

HelpDeskZ is a free PHP based software which allows you to manage your site's support with a web-based support ticket system.
http://www.helpdeskz.com/
GNU General Public License v2.0
83 stars 64 forks source link

API bug #22

Open Xeros91 opened 3 years ago

Xeros91 commented 3 years ago

Good evening,

I found a bug, when I want to use the api

path : https://***.fr/api/users/create

-> post method

Fullname : test test Email : test@test.fr notify: 0

JSON return :

{ "success": 1, "user_id": 0, "message": "User account was created." }

the problem is that the user ID remains at 0 and it does not create the user

the same thing for departments/create

Thanks and by the way great job

helpdesk-z commented 3 years ago

Thanks for the report, we'll check that

Xeros91 commented 3 years ago

Thx