mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Merge pull request #740 from getredash/feature/permissions
Fix #738: alert code was referencing non existing attribute
This commit is contained in:
@@ -306,8 +306,9 @@ def version_check():
|
||||
|
||||
|
||||
def base_url(org):
|
||||
if org.domain:
|
||||
return 'https://{}'.format(org.domain)
|
||||
if settings.MULTI_ORG:
|
||||
return "https://{}/{}".format(settings.HOST, org.slug)
|
||||
|
||||
return settings.HOST
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user