mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-07 08:55:05 -04:00
made sure that the socket handlers have consitent names (#4818)
This commit is contained in:
parent
0ddf35e7b5
commit
9486fa22ee
3 changed files with 8 additions and 3 deletions
|
@ -6,7 +6,7 @@ const Database = require("../database");
|
|||
* @param {Socket} socket Socket.io instance
|
||||
* @returns {void}
|
||||
*/
|
||||
module.exports = (socket) => {
|
||||
module.exports.databaseSocketHandler = (socket) => {
|
||||
|
||||
// Post or edit incident
|
||||
socket.on("getDatabaseSize", async (callback) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue