#Pref returned as List instead of Map for User & Account Model in Realtime

2 messages · Page 1 of 1 (latest)

grim rapids
#

When trying to convert the payload in realtime of the account channel to the "User" model it throws an error.
Same for the teams channel when trying to convert to the "Teams" model. Apparently realtime returns a list for preferences for the User and Team model instead of a map. Retrieving the models from the REST api work as expected but not from realtime.

This has already been mentioned in a comment here:
appwrite/sdk-for-flutter#33

I'm using Appwrite 1.5.2 selfhosted and appwrite 12.0.1 for flutter.

lament pagoda