You've already forked uptime-kuma
mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-12-03 23:19:46 +02:00
made sure that the socket handlers have consitent names (#4818)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user