fix order of writing header
This commit is contained in:
parent
6aa7cd3abf
commit
20c9986a0a
1 changed files with 1 additions and 1 deletions
|
@ -92,8 +92,8 @@ func (s *Server) writeAvailableLogs(w http.ResponseWriter, r *http.Request, q ur
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
writeJSON(&logList{logs}, http.StatusOK, w, r)
|
|
||||||
writeCacheControl(w, r, time.Hour)
|
writeCacheControl(w, r, time.Hour)
|
||||||
|
writeJSON(&logList{logs}, http.StatusOK, w, r)
|
||||||
}
|
}
|
||||||
|
|
||||||
// swagger:route GET /channel/{channel}/user/{username} logs channelUserLogs
|
// swagger:route GET /channel/{channel}/user/{username} logs channelUserLogs
|
||||||
|
|
Loading…
Add table
Reference in a new issue