fix stream key encoding
This commit is contained in:
parent
03fc25e88a
commit
c1632a5668
|
@ -26,7 +26,7 @@ def create():
|
||||||
logging.info('User %s created with stream key %s',
|
logging.info('User %s created with stream key %s',
|
||||||
new_user.username, new_user.stream_key)
|
new_user.username, new_user.stream_key)
|
||||||
|
|
||||||
res = {'username': new_user.username, 'stream_key': new_user.stream_key}
|
res = {'username': new_user.username, 'stream_key': str(new_user.stream_key)}
|
||||||
return Response(jsonify(res), 200)
|
return Response(jsonify(res), 200)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue