mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-29 00:47:08 +02:00
API lint fix.
This commit is contained in:
parent
5a25aefa34
commit
b6393c4396
3 changed files with 17 additions and 11 deletions
|
@ -36,7 +36,7 @@ func (h *RoomHandler) ClipboardRead(w http.ResponseWriter, r *http.Request) {
|
|||
func (h *RoomHandler) ClipboardWrite(w http.ResponseWriter, r *http.Request) {
|
||||
data := &ClipboardData{}
|
||||
if err := render.Bind(r, data); err != nil {
|
||||
render.Render(w, r, utils.ErrBadRequest(err))
|
||||
_ = render.Render(w, r, utils.ErrBadRequest(err))
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue