You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
API: Support is_todo property to allow making a note a todo (#1688)
This commit is contained in:
@@ -456,6 +456,7 @@ class Api {
|
||||
if ('author' in requestNote) output.author = requestNote.author;
|
||||
if ('user_updated_time' in requestNote) output.user_updated_time = Database.formatValue(Database.TYPE_INT, requestNote.user_updated_time);
|
||||
if ('user_created_time' in requestNote) output.user_created_time = Database.formatValue(Database.TYPE_INT, requestNote.user_created_time);
|
||||
if ('is_todo' in requestNote) output.is_todo = Database.formatValue(Database.TYPE_INT, requestNote.is_todo);
|
||||
|
||||
return output;
|
||||
}
|
||||
@@ -590,4 +591,4 @@ class Api {
|
||||
|
||||
}
|
||||
|
||||
module.exports = Api;
|
||||
module.exports = Api;
|
||||
|
||||
Reference in New Issue
Block a user