MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / saveUserNotes

Function saveUserNotes

plugins/notes.js:17–24  ·  view source on GitHub ↗
(userId, notes)

Source from the content-addressed store, hash-verified

15 }
16}
17async function saveUserNotes(userId, notes) {
18 if (HAS_DB) {
19 await store.saveSetting(userId, 'notes', notes);
20 }
21 else {
22 notesDB[userId] = notes;
23 }
24}
25export default {
26 command: 'notes',
27 aliases: ['note'],

Callers 1

handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected