mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2024-09-20 06:46:12 +08:00
only return 200 for clear log requests
This commit is contained in:
parent
3226690d70
commit
ab0589916f
|
@ -52,7 +52,7 @@ func (w *worker) handleLogs(c *gin.Context) {
|
|||
|
||||
func (w *worker) handleClearLogs(c *gin.Context) {
|
||||
log.Clear()
|
||||
c.Data(http.StatusOK, "text/plain", []byte{})
|
||||
c.Status(http.StatusOK)
|
||||
}
|
||||
|
||||
func (w *worker) handleStatus(c *gin.Context) {
|
||||
|
|
Loading…
Reference in a new issue