dryark / controlfloor

System for controlling devices remotely
Other
84 stars 27 forks source link

Fix devKick API call and devVideo redirect #33

Closed davidmathis closed 1 year ago

davidmathis commented 2 years ago

The UI calls the wrong API path for kicking a user /devKick instead of /device/kick. Additionally the redirect that happens afterward uses /devVideo instead of /device/video. This changes fixes those two things and runs go fmt against the code base.

davidmathis commented 2 years ago

ptal @nanoscopic

nanoscopic commented 1 year ago

I don't approve of running automatic formatting on code, but I'm also not maintaining this project so I'm going to generally approve whatever PRs people send in as long as it doesn't break anything.

nanoscopic commented 1 year ago

Also sorry for not noticing this PR for like an entire year. I'll pay more attention and ( supposing any PRs do come in ) be sure to merge them much faster going forward.