Skip to content

Build your personal knowledge base with Trilium Notes

Update entrypoints.js

mechanarchy08ec866dd269
diff --git a/src/public/app/components/entrypoints.js b/src/public/app/components/entrypoints.js
index 68117280ed..b2c4d306c3 100644
--- a/src/public/app/components/entrypoints.js
+++ b/src/public/app/components/entrypoints.js
@@ -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});