From e36833c85f4de31ed71f5a902e8189262e2f29e5 Mon Sep 17 00:00:00 2001 From: Artem Demyanov Date: Mon, 23 Sep 2019 20:09:36 +0300 Subject: [PATCH] Update parse_acl.dart --- lib/src/objects/parse_acl.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/objects/parse_acl.dart b/lib/src/objects/parse_acl.dart index 7919343ab..ceb061970 100644 --- a/lib/src/objects/parse_acl.dart +++ b/lib/src/objects/parse_acl.dart @@ -93,7 +93,7 @@ class ParseACL { throw 'cannot getWriteAccess for null userId'; } final _ACLPermissions _permissions = _permissionsById[userId]; - return _permissions != null && _permissions.getReadPermission(); + return _permissions != null && _permissions.getWritePermission(); } Map toJson() {