mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-28 08:27:09 +02:00
format Go source code.
This commit is contained in:
parent
732764991b
commit
45679f1b86
54 changed files with 445 additions and 447 deletions
|
@ -3,8 +3,8 @@ package room
|
|||
import (
|
||||
"bytes"
|
||||
"image/jpeg"
|
||||
"strconv"
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"demodesk/neko/internal/types"
|
||||
"demodesk/neko/internal/types/event"
|
||||
|
@ -40,9 +40,9 @@ func (h *RoomHandler) screenConfigurationChange(w http.ResponseWriter, r *http.R
|
|||
}
|
||||
|
||||
if err := h.desktop.SetScreenSize(types.ScreenSize{
|
||||
Width: data.Width,
|
||||
Width: data.Width,
|
||||
Height: data.Height,
|
||||
Rate: data.Rate,
|
||||
Rate: data.Rate,
|
||||
}); err != nil {
|
||||
utils.HttpUnprocessableEntity(w, err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue