Add synced question bookmarks
This commit is contained in:
@@ -678,6 +678,7 @@ func _normalize_api_question(item: Variant) -> Dictionary:
|
||||
"performance_category": str(item.get("performanceCategory", item.get("performance_category", ""))),
|
||||
"difficulty": int(item.get("difficulty", 1)),
|
||||
"question_elo": int(item.get("questionElo", item.get("question_elo", 1000))),
|
||||
"is_bookmarked": bool(item.get("isBookmarked", item.get("is_bookmarked", false))),
|
||||
"labs": item.get("labs", []),
|
||||
"media": item.get("media", []),
|
||||
"tags": item.get("tags", []),
|
||||
@@ -686,6 +687,10 @@ func _normalize_api_question(item: Variant) -> Dictionary:
|
||||
return normalized
|
||||
|
||||
|
||||
func normalize_api_question(item: Variant) -> Dictionary:
|
||||
return _normalize_api_question(item)
|
||||
|
||||
|
||||
func _normalize_review_followups(raw_followups: Variant) -> Array:
|
||||
var normalized: Array = []
|
||||
if typeof(raw_followups) != TYPE_ARRAY:
|
||||
|
||||
Reference in New Issue
Block a user