forked from enviPath/enviPy
Added news entries
This commit is contained in:
@@ -5,6 +5,7 @@ from typing import Any, Dict, List, Optional
|
||||
import jwt
|
||||
import nh3
|
||||
import requests
|
||||
from django.db import transaction
|
||||
from django.conf import settings as s
|
||||
from django.contrib.auth import get_user_model
|
||||
from django.core.cache import cache
|
||||
@@ -2495,6 +2496,7 @@ class RegisterApplicationInSchema(Schema):
|
||||
|
||||
|
||||
@router.post("/integration", response={200: Any, 403: Error})
|
||||
@transaction.atomic
|
||||
def register_app(request, app: Form[RegisterApplicationInSchema]):
|
||||
try:
|
||||
user = request.user
|
||||
|
||||
Reference in New Issue
Block a user