style: auto-fix lint and format
This commit is contained in:
1 parent
dae1cae894
commit
c5e31513e2
1 file changed
+1
-4
@@ -112,10 +112,7 @@ export class OpenWebUiIntegration extends Integration {
|
||||
* truncates the body, so we fetch the note directly when attaching it.
|
||||
*/
|
||||
public async getNoteAsync(noteId: string): Promise<OpenWebUiNote> {
|
||||
const parsed = await this.getJsonAsync(
|
||||
`/api/v1/notes/${encodeURIComponent(noteId)}`,
|
||||
openWebUiNoteSchema,
|
||||
);
|
||||
const parsed = await this.getJsonAsync(`/api/v1/notes/${encodeURIComponent(noteId)}`, openWebUiNoteSchema);
|
||||
return { id: parsed.id, title: parsed.title ?? "Untitled note", content: parsed.data?.content?.md ?? "" };
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user