Skip to content

Commit

Permalink
online fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshijiang committed Jun 13, 2024
1 parent c43d22f commit f1b282b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/solid/api_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_audit_projects(request):
for ap in audit_project_lists:
projects_ret_lists.append(ap.as_dict())
data = {
"service_type": service_type.as_dict(),
"service_type": None if service_type is None else service_type.as_dict(),
"projects": projects_ret_lists
}
return ok_json(data)
Expand Down
8 changes: 4 additions & 4 deletions hailstone/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
IMG_URL = 'https://hailstone.testnet.dapplink.xyz/media/'

try:
from .local_settings import *
except ImportError:
pass
# try:
# from .local_settings import *
# except ImportError:
# pass

# usSszPkH

0 comments on commit f1b282b

Please sign in to comment.