(note: string)
| 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 ( |