Add JSDoc to server/socket-handlers/*

Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
This commit is contained in:
Matthew Nickson 2022-04-21 17:10:23 +01:00
parent 3d04befc1f
commit 068b920553
No known key found for this signature in database
GPG key ID: BF229DCFD4748E05
4 changed files with 31 additions and 0 deletions

View file

@ -1,6 +1,10 @@
const { checkLogin } = require("../util-server");
const Database = require("../database");
/**
* Handlers for database
* @param {Socket} socket Socket.io instance
*/
module.exports = (socket) => {
// Post or edit incident