diff --git a/Storage/Storage/Public/AVUser.cs b/Storage/Storage/Public/AVUser.cs index 3462624..ce14a0c 100644 --- a/Storage/Storage/Public/AVUser.cs +++ b/Storage/Storage/Public/AVUser.cs @@ -614,7 +614,7 @@ namespace LeanCloud { public Task> GetRolesAsync() { AVQuery query = new AVQuery(); - query.WhereRelatedTo(this, "users"); + query.WhereEqualTo("users", this); return query.FindAsync(); }