TT#105954 /api/invoices: accept 'application/pdf' type

Change-Id: I5b01d2f627a17bdb527de0f92cf14de0d505aa0e
mr9.2
Rene Krenn 4 years ago
parent 88d91b8349
commit be92558686

@ -7,6 +7,10 @@ use parent qw/NGCP::Panel::Role::EntitiesItem NGCP::Panel::Role::API::Invoices/;
__PACKAGE__->set_config({
log_response => 0,
GET => {
#first element of array is default, if no accept header was received.
'ReturnContentType' => [ 'application/pdf', 'application/json' ],
},
});
sub allowed_methods{

Loading…
Cancel
Save