From b796de8fb0422df38ea1dff9a8be8cb5dcfed0b9 Mon Sep 17 00:00:00 2001 From: Alex Standiford Date: Wed, 24 Nov 2021 15:34:04 -0600 Subject: [PATCH] Fixes loader --- bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 2204d75..c5320a0 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -8,6 +8,6 @@ // Add this loader. Underpin::attach( 'setup', new \Underpin\Factories\Observers\Loader( 'rest_endpoints', [ - 'instance' => 'Underpin\Rest_Endpoints\Abstracts\Rest_Endpoint', - 'default' => 'Underpin\Rest_Endpoints\Factories\Rest_Endpoint_Instance', + 'abstraction_class' => 'Underpin\Rest_Endpoints\Abstracts\Rest_Endpoint', + 'default_factory' => 'Underpin\Rest_Endpoints\Factories\Rest_Endpoint_Instance', ] ) ); \ No newline at end of file