mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Fixed fail
This commit is contained in:
@@ -63,7 +63,7 @@ class EventOembed(generic.View):
|
||||
'type': 'rich',
|
||||
}
|
||||
# need to do this: @xframe_options_exempt
|
||||
json = simplejson.JSONEncoderForHTML(data)
|
||||
json = simplejson.JSONEncoderForHTML().encode(data)
|
||||
return HttpResponse(json, content_type="application/json")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user