mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
unified SQL syntax to uppercase
This commit is contained in:
@@ -217,7 +217,7 @@ async function sendEntity(syncContext, entity, entityName) {
|
||||
};
|
||||
|
||||
if (entityName === 'notes') {
|
||||
payload.links = await sql.getResults('select * from links where note_id = ?', [entity.note_id]);
|
||||
payload.links = await sql.getResults('SELECT * FROM links WHERE note_id = ?', [entity.note_id]);
|
||||
}
|
||||
|
||||
await syncRequest(syncContext, 'PUT', '/api/sync/' + entityName, payload);
|
||||
|
||||
Reference in New Issue
Block a user