merge
This commit is contained in:
commit
b2a18c5a21
69 changed files with 2122 additions and 119 deletions
|
|
@ -1,6 +1,4 @@
|
|||
from .models_lit import LITApp
|
||||
from .models import App, AppRole
|
||||
from database import db
|
||||
|
||||
class AppsService:
|
||||
@staticmethod
|
||||
|
|
@ -16,4 +14,4 @@ class AppsService:
|
|||
@staticmethod
|
||||
def get_app_roles():
|
||||
app_roles = AppRole.query.all()
|
||||
return [{"user_id": app_role.user_id, "app_id": app_role.app_id, "role_id": app_role.role_id} for app_role in app_roles]
|
||||
return [{"user_id": app_role.user_id, "app_id": app_role.app_id, "role_id": app_role.role_id} for app_role in app_roles]
|
||||
|
|
|
|||
Reference in a new issue