mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
11 lines
213 B
JavaScript
11 lines
213 B
JavaScript
"use strict";
|
|
|
|
const sql = require('../../services/sql');
|
|
|
|
async function getEventLog() {
|
|
return await sql.getRows("SELECT * FROM event_log ORDER BY dateCreated DESC");
|
|
}
|
|
|
|
module.exports = {
|
|
getEventLog
|
|
}; |