mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
Update entrypoints.js
This commit is contained in:
parent
c177aaa901
commit
08ec866dd2
@ -173,7 +173,7 @@ export default class Entrypoints extends Component {
|
||||
const resp = await server.post(`sql/execute/${note.noteId}`);
|
||||
|
||||
if (!resp.success) {
|
||||
toastService.showError(`Error occurred while executing SQL query: ${resp.message}`);
|
||||
toastService.showError(`Error occurred while executing SQL query: ${resp.error}`);
|
||||
}
|
||||
|
||||
await appContext.triggerEvent('sqlQueryResults', {ntxId: ntxId, results: resp.results});
|
||||
|
Loading…
x
Reference in New Issue
Block a user