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": {