packages/server/src/pusher/auth.ts
Function handleRequest
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const handleRequest = async (request: Request) => {
const data = await request.formData();
const socketID = data.get("socket_id").toString();
const channelName = data.get("channel_name").toString();
TODO found Open
Open
// TODO: Auth
- Exclude checks