mirror of https://github.com/laurent22/joplin.git
Api: Fixes #3539: Fixes nested tag API to handle calls with no 'fields' query key
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