Skip to content

Commit

Permalink
Merge pull request #9 from openedx/cag/fix-dev
Browse files Browse the repository at this point in the history
fix: use internal_service_url over service_url
  • Loading branch information
Cristhian Garcia authored Mar 14, 2024
2 parents 7ee9182 + b369e1f commit c9dc445
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ Unreleased

*

0.3.1 - 2024-03-14
******************

Added
=====

* Fixed development server configuration.

0.3.0 – 2024-03-10
******************
Added
Expand Down
2 changes: 1 addition & 1 deletion platform_plugin_aspects/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
import os
from pathlib import Path

__version__ = "0.3.0"
__version__ = "0.3.1"

ROOT_DIRECTORY = Path(os.path.dirname(os.path.abspath(__file__)))
3 changes: 2 additions & 1 deletion platform_plugin_aspects/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def _generate_guest_token(user, course, superset_config, dashboard_uuid, filters
or None, exception if Superset is missconfigured or cannot generate guest token.
"""
superset_internal_host = _fix_service_url(
superset_config.get("service_url", superset_config.get("internal_service_url"))
superset_config.get("internal_service_url")
or superset_config.get("service_url")
)
superset_username = superset_config.get("username")
superset_password = superset_config.get("password")
Expand Down

0 comments on commit c9dc445

Please sign in to comment.