(userId: any, notes: any)
| 19 | } |
| 20 | |
| 21 | async function saveUserNotes(userId: any, notes: any) { |
| 22 | if (HAS_DB) { |
| 23 | await store.saveSetting(userId, 'notes', notes); |
| 24 | } else { |
| 25 | (notesDB as any)[userId] = notes; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | export default { |
| 30 | command: 'notes', |