null is not a thing in python lol
This commit is contained in:
@@ -217,7 +217,7 @@ def bookmark_thread(thread_id):
|
|||||||
@bp.get('/current-user')
|
@bp.get('/current-user')
|
||||||
def get_current_user_info():
|
def get_current_user_info():
|
||||||
if not is_logged_in():
|
if not is_logged_in():
|
||||||
return {'user': null}
|
return {'user': None}
|
||||||
|
|
||||||
user = get_active_user()
|
user = get_active_user()
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user