Skip to content

Commit

Permalink
fix: add arrayValue conversion to from_firebase_type
Browse files Browse the repository at this point in the history
  • Loading branch information
auntiebirdie committed Jun 19, 2024
1 parent c7f33ad commit 04916a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/godot-firebase/Utilities.gd
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ static func from_firebase_type(value : Variant) -> Variant:

if value.has("mapValue"):
value = fields2dict(value.values()[0])
elif value.has("arrayValue"):
value = fields2array(value.values()[0])
elif value.has("timestampValue"):
value = Time.get_datetime_dict_from_datetime_string(value.values()[0], false)
else:
Expand Down

0 comments on commit 04916a0

Please sign in to comment.