MCPcopy Create free account
hub / github.com/MathMan05/Fermi / saveNotes

Method saveNotes

src/webpage/user.ts:1177–1184  ·  view source on GitHub ↗
(note: string)

Source from the content-addressed store, hash-verified

1175 this.note = note;
1176 await fetch(`${this.info.api}/users/@me/notes/${this.id}`, {
1177 method: "PUT",
1178 headers: this.headers,
1179 body: JSON.stringify({note}),
1180 });
1181 }
1182 async getNotes() {
1183 try {
1184 if (this.note === undefined) {
1185 this.note =
1186 (
1187 await (

Callers 1

fullProfileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected