Browse Source

fix: platform 500

pull/8970/head
feng626 2 years ago
parent
commit
22e211625e
  1. 2
      apps/assets/automations/__init__.py
  2. 2
      apps/perms/urls/asset_permission.py

2
apps/assets/automations/__init__.py

@ -1 +1 @@
from .methods import platform_automation_methods from .methods import *

2
apps/perms/urls/asset_permission.py

@ -65,7 +65,7 @@ user_permission_urlpatterns = [
path('assets/<uuid:asset_id>/accounts/', api.MyGrantedAssetAccountsApi.as_view(), name='my-asset-accounts'), path('assets/<uuid:asset_id>/accounts/', api.MyGrantedAssetAccountsApi.as_view(), name='my-asset-accounts'),
# 用户登录资产的特殊账号, @INPUT, @USER 等 # 用户登录资产的特殊账号, @INPUT, @USER 等
path('<uuid:pk>/assets/special-accounts/', api.UserGrantedAssetSpecialAccountsApi.as_view(), name='user-special-accounts'), path('<uuid:pk>/assets/special-accounts/', api.UserGrantedAssetSpecialAccountsApi.as_view(), name='user-special-accounts'),
path('/assets/special-accounts/', api.MyGrantedAssetSpecialAccountsApi.as_view(), name='my-special-accounts'), path('assets/special-accounts/', api.MyGrantedAssetSpecialAccountsApi.as_view(), name='my-special-accounts'),
] ]
user_group_permission_urlpatterns = [ user_group_permission_urlpatterns = [

Loading…
Cancel
Save