From 571ef1fada1f4432dde994687dee1b8005d8f8ab Mon Sep 17 00:00:00 2001
From: Martin Trapp
Date: Thu, 23 Mar 2023 15:01:35 +0100
Subject: [PATCH] Pass init kwargs to init_app
---
flask_restx/api.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/flask_restx/api.py b/flask_restx/api.py
index 5996dd59..a82fe0bc 100644
--- a/flask_restx/api.py
+++ b/flask_restx/api.py
@@ -196,8 +196,7 @@ def __init__(
self.url_scheme = url_scheme
if app is not None:
self.app = app
- self.init_app(app)
- # super(Api, self).__init__(app, **kwargs)
+ self.init_app(app, **kwargs)
def init_app(self, app, **kwargs):
"""