Bug 37850: (QA follow-up): Update illemail REST API attribute name

To test
1) yarn api:bundle && koha-plack --restart kohadev
2) Enable ILLModule and put some 'ILL staff email:' on some library
3) Access <staff_url>/api/v1/libraries
4) Notice the attribute reads ill_email

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Pedro Amorim 2024-10-21 11:33:46 +00:00 committed by Katrin Fischer
parent 1e1b766480
commit f20582bb0d
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ sub to_api_mapping {
branchphone => 'phone',
branchfax => 'fax',
branchemail => 'email',
branchillemail => 'illemail',
branchillemail => 'ill_email',
branchreplyto => 'reply_to_email',
branchreturnpath => 'return_path_email',
branchurl => 'url',

View File

@ -59,7 +59,7 @@ properties:
- string
- "null"
description: the primary email address of the library
illemail:
ill_email:
type:
- string
- "null"