https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16330

--- Comment #66 from Benjamin Rokseth <[email protected]> ---
One thing that needs to be fixed:
PUT endpoint uses C4::ModMember (which I think is plain wrong, but thats
another issue and I understand why...) and this requires borrowernumber as
param due to some internal lookups, categorycode e.g.)

tests pass since entire patron object is passed in, but that's a false
positive, since borrowernumber shouldn't be passed in body, its already a path
param. since path param must be authoritative, I suggest just overwriting body
param in the helper method already used.

Otherwise great work!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to