Bug 19196: Make plugin available to endpoints
This patch just initializes the plugin on the main controller class so it is available for all endpoints to use. As it is not used, in order to test just restart plack and make sure the endpoints work (run the t/db_dependent/api/v1 tests). Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Lari Taskula <lari.taskula@jns.fi> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
26f3ca8d88
commit
c84cab61b7
|
|
@ -53,6 +53,7 @@ sub startup {
|
|||
# Paths-, Parameters-, Definitions- & Info-object
|
||||
# is not allowed by the OpenAPI specification.
|
||||
});
|
||||
$self->plugin( 'Koha::REST::Plugin::Pagination' );
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue