for KBB tracking, added kbbDailyMileage to auto-update mileage

This commit is contained in:
Robert Dyer
2024-08-04 18:34:41 -05:00
parent 4a379d609a
commit 25b499263f
3 changed files with 32 additions and 2 deletions
+7
View File
@@ -141,6 +141,13 @@ module.exports = {
return undefined;
},
setAccountNote: async function (account, note) {
api.internal.send('notes-save', {
id: `account-${account.id}`,
note: note,
});
},
sleep: function (ms) {
return new Promise((resolve) => {
setTimeout(resolve, ms);