Skip to content

Commit e8c92b2

Browse files
committed
fix
1 parent cc7a6e7 commit e8c92b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastapi_jsonapi/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def _update_method_config(self, view: Type["ViewBase"], method: HTTPMethod) -> H
357357

358358
new_method_config = HTTPMethodConfig(
359359
dependencies=dependencies_model,
360-
prepare_data_layer_kwargs=common_config.handler or target_config.handler,
360+
prepare_data_layer_kwargs=target_config.handler or common_config.handler,
361361
)
362362
view.method_dependencies[method] = new_method_config
363363

0 commit comments

Comments
 (0)