mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-22 11:49:22 -05:00
renamed attachment's parentId to more fitting ownerId
This commit is contained in:
@@ -18,7 +18,7 @@ Authorization: {{authToken}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"parentId": "{{createdNoteId}}",
|
||||
"ownerId": "{{createdNoteId}}",
|
||||
"role": "file",
|
||||
"mime": "text/plain",
|
||||
"title": "my attachment",
|
||||
@@ -55,7 +55,7 @@ Authorization: {{authToken}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"parentId": "root"
|
||||
"ownerId": "root"
|
||||
}
|
||||
|
||||
> {%
|
||||
@@ -76,4 +76,4 @@ Content-Type: application/json
|
||||
> {%
|
||||
client.assert(response.status === 400);
|
||||
client.assert(response.body.code == "PROPERTY_VALIDATION_ERROR");
|
||||
%}
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user