Bug 37893: (QA follow-up): Fix xt/api.t

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Pedro Amorim 2025-11-18 16:04:43 +00:00 committed by Lucas Gass
parent 8ef32181e7
commit 94eab622c7
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
3 changed files with 9 additions and 2 deletions

View File

@ -165,7 +165,6 @@ sub update {
$account->sort_bin_mappings($sort_bin_mappings);
$account->system_preference_overrides($system_preference_overrides);
$c->res->headers->location( $c->req->url->to_string . '/' . $account->sip_account_id );
return $c->render(
status => 200,
openapi => $c->objects->to_api($account),

View File

@ -135,7 +135,6 @@ sub update {
$institution->set_from_api($body)->store;
$c->res->headers->location( $c->req->url->to_string . '/' . $institution->sip_institution_id );
return $c->render(
status => 200,
openapi => $c->objects->to_api($institution),

View File

@ -1387,6 +1387,15 @@ tags:
- description: "Manage search filters"
name: search_filters
x-displayName: Search filters
- description: "Manage SIP2 accounts"
name: sip2_accounts
x-displayName: SIP2 Accounts
- description: "Manage SIP2 institutions"
name: sip2_institutions
x-displayName: SIP2 Institutions
- description: "Manage SIP2 system preference overrides"
name: sip2_system_preference_overrides
x-displayName: SIP2 System preference overrides
- description: "Manage SMTP servers configurations\n"
name: smtp_servers
x-displayName: SMTP servers