summary refs log tree commit diff
path: root/api/assets/schemas.json
diff options
context:
space:
mode:
authorAlTech98 <altech123159@gmail.com>2021-09-13 17:32:31 +0200
committerAlTech98 <altech123159@gmail.com>2021-09-13 17:32:31 +0200
commitaa1f1a22a4cce0c51d84c10d5a741699f7bbfff2 (patch)
treef11c5005d4870739ec3be422a84f2aba532af4fd /api/assets/schemas.json
parentFix attachments not being saved to db (diff)
downloadserver-aa1f1a22a4cce0c51d84c10d5a741699f7bbfff2.tar.xz
Delete attachments of deleted messages, fix #273
Diffstat (limited to 'api/assets/schemas.json')
-rw-r--r--api/assets/schemas.json6
1 files changed, 5 insertions, 1 deletions
diff --git a/api/assets/schemas.json b/api/assets/schemas.json

index ac7df859..94aa0660 100644 --- a/api/assets/schemas.json +++ b/api/assets/schemas.json
@@ -462,7 +462,11 @@ "payload_json": { "type": "string" }, - "file": {} + "file": {}, + "attachments": { + "type": "array", + "items": {} + } }, "additionalProperties": false, "definitions": {