Skip to content

Commit 7353e5e

Browse files
committed
fix: Add missing user session POST API
1 parent fe6210d commit 7353e5e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

supertokens_python/recipe/dashboard/api/api_key_protector.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# under the License.
1414
from __future__ import annotations
1515

16-
import json
1716
from typing import TYPE_CHECKING, Callable, Optional, Awaitable, Dict, Any
1817

1918
from supertokens_python.framework import BaseResponse

supertokens_python/recipe/dashboard/recipe.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,12 @@ def get_apis_handled(self) -> List[APIHandled]:
212212
USER_SESSION_API,
213213
False,
214214
),
215+
APIHandled(
216+
NormalisedURLPath(get_api_path_with_dashboard_base(USER_SESSION_API)),
217+
"post",
218+
USER_SESSION_API,
219+
False,
220+
),
215221
APIHandled(
216222
NormalisedURLPath(get_api_path_with_dashboard_base(USER_PASSWORD_API)),
217223
"put",

0 commit comments

Comments
 (0)