From d339fe9e4e54f2915487f5b3324f6fe8b8afd837 Mon Sep 17 00:00:00 2001 From: oneRain Date: Fri, 23 Aug 2019 16:58:46 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=A2=9E=E5=8A=A0=20User=20=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=89=80=E5=B1=9E=E8=A7=92=E8=89=B2=E7=9A=84=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Storage/Storage/Public/AVUser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }