mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Merge pull request #740 from getredash/feature/permissions
Fix #738: alert code was referencing non existing attribute
This commit is contained in:
commit
ce9a5c05fb
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user