fix: buttplug lint errors
All checks were successful
Build and Push Backend Image / build (push) Successful in 17s
Build and Push Frontend Image / build (push) Successful in 4m34s

This commit is contained in:
2026-03-08 13:28:59 +01:00
parent 0a50c3efd8
commit 239128bf5e
12 changed files with 56 additions and 39 deletions

View File

@@ -36,7 +36,7 @@ export interface ButtplugMessage {
}
export function msgId(msg: ButtplugMessage): number {
for (let [_, entry] of Object.entries(msg)) {
for (const [_, entry] of Object.entries(msg)) {
if (entry != undefined) {
return entry.Id;
}
@@ -45,7 +45,7 @@ export function msgId(msg: ButtplugMessage): number {
}
export function setMsgId(msg: ButtplugMessage, id: number) {
for (let [_, entry] of Object.entries(msg)) {
for (const [_, entry] of Object.entries(msg)) {
if (entry != undefined) {
entry.Id = id;
return;