From 4b9b29fc94c24c5558cfe97bf42441e6487b2fc6 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 1 Apr 2021 07:58:39 +0200 Subject: [PATCH] Hotfix: Removed default nRefs value for image model --- back/models/image.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/back/models/image.json b/back/models/image.json index 57e33a684..9e8704e5f 100644 --- a/back/models/image.json +++ b/back/models/image.json @@ -8,25 +8,23 @@ }, "properties": { "id": { - "type": "Number", + "type": "number", "id": true, "description": "The id" }, "name": { - "type": "String", + "type": "string", "required": true }, "collectionFk": { - "type": "String", + "type": "string", "required": true }, "updated": { - "type": "Number" + "type": "number" }, "nRefs": { - "type": "Number", - "required": true, - "default": 1 + "type": "number" } }, "relations": {