made sure that the socket handlers have consitent names (#4818)

This commit is contained in:
Frank Elsinga
2024-08-24 18:40:50 +02:00
committed by GitHub
parent 0ddf35e7b5
commit 9486fa22ee
3 changed files with 8 additions and 3 deletions

View File

@@ -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) => {