mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
Update entrypoints.js
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user