fix: update parameter naming for consistency in Lanyard and index files
All checks were successful
Code quality checks / biome (push) Successful in 7s

This commit is contained in:
Seth 2025-05-16 00:25:21 -04:00
parent 9ace0c9457
commit 723edde53f
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ export default class {
} }
}; };
this._socket.onclose = (e) => { this._socket.onclose = (_e) => {
console.log("Lanyard socket closed"); console.log("Lanyard socket closed");
if (this._keepAlive) { if (this._keepAlive) {
clearInterval(this._keepAlive); clearInterval(this._keepAlive);

View file

@ -45,7 +45,7 @@ const Responses = {
const postAnalytics = async ( const postAnalytics = async (
req: Request | Bun.BunRequest, req: Request | Bun.BunRequest,
server: Bun.Server, _server: Bun.Server,
) => { ) => {
const cfIp = req.headers.get("CF-Connecting-IP"); const cfIp = req.headers.get("CF-Connecting-IP");
//const realIp = req.headers.get("X-Real-IP"); //const realIp = req.headers.get("X-Real-IP");