https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42207 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 198224 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198224&action=edit Bug 42207: Allow library embed on GET /patrons/{patron_id} - Add 'library' to the allowed x-koha-embed values for the GET /patrons/{patron_id} endpoint - Add unit test verifying the library embed returns library_id and name Test plan: 1. Apply patch 2. yarn api:bundle 3. prove t/db_dependent/api/v1/patrons.t 4. Verify all tests pass, including the new 'library embed' subtest under get() which verifies that requesting x-koha-embed: library returns the patron's library object Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/> Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.