mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Api: Fixes #3539: Fixes nested tag API to handle calls with no 'fields' query key
This commit is contained in:
parent
89d0575ccd
commit
17e140ba56
@ -285,7 +285,7 @@ class Api {
|
||||
}
|
||||
|
||||
const checkAndRemoveFullTitleField = function(request) {
|
||||
const fields = this.fields_(request);
|
||||
const fields = this.fields_(request, []);
|
||||
let hasFullTitleField = false;
|
||||
for (let i = 0; i < fields.length; i++) {
|
||||
if (fields[i] === 'full_title') {
|
||||
|
Loading…
Reference in New Issue
Block a user