mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
Wrap 2 more BASE_URL usages with str()
In 59372aba33 a lazily evaluated BASE_URL tool was introduced.
I found 2 more cases in which BASE_URL was not "collapsed into a
string" magically by `__add__`, one of which actually causing
an `Object of type TenantBaseURL is not JSON serializable`
This commit is contained in:
@@ -75,7 +75,7 @@ def _make_message_body():
|
||||
|
||||
"settings": {
|
||||
# Settings that tell us "who you are", and are relevant in the context of licensing.
|
||||
"BASE_URL": get_settings().BASE_URL,
|
||||
"BASE_URL": str(get_settings().BASE_URL),
|
||||
"SITE_TITLE": get_settings().SITE_TITLE,
|
||||
"DEFAULT_FROM_EMAIL": settings.DEFAULT_FROM_EMAIL,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user