From f9aceba121e5d69e65496826644b8d53952f4ed2 Mon Sep 17 00:00:00 2001 From: handongxun Date: Mon, 13 Sep 2021 15:47:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20opendb-news-favorite=20=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=85=8D=E7=BD=AE=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/opendb-news-favorite/collection.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collection/opendb-news-favorite/collection.json b/collection/opendb-news-favorite/collection.json index e697029..4c4833d 100644 --- a/collection/opendb-news-favorite/collection.json +++ b/collection/opendb-news-favorite/collection.json @@ -6,7 +6,7 @@ "read": true, "create": "auth.uid != null", "update": false, - "delete": "doc.uid == auth.uid" + "delete": "doc.user_id == auth.uid" }, "properties": { "_id": {