feat: mise à jour du code
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
const initSqlJs = require("sql.js");
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const initSqlJs = require('sql.js');
|
||||
|
||||
const dbPath = path.join(__dirname, "../tickets.db");
|
||||
const dbPath = path.join(__dirname, '../tickets.db');
|
||||
|
||||
let db;
|
||||
|
||||
@@ -56,4 +56,4 @@ function closeTicket(channelId) {
|
||||
saveDB();
|
||||
}
|
||||
|
||||
module.exports = { initDB, createTicket, getTicketByChannel, closeTicket };
|
||||
module.exports = { initDB, createTicket, getTicketByChannel, closeTicket };
|
||||
|
||||
Reference in New Issue
Block a user