Compare commits

...

2 Commits

Author SHA1 Message Date
Ruslan Vakilov 860b53ffbb
Merge 510ba54a21 into 2fdafd34ca 2024-09-22 19:20:03 +00:00
Ruslan Vakilov 510ba54a21 Log client ID when removing client. 2024-09-22 21:19:53 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -821,7 +821,7 @@ func RemoveClient(db store.IStore) echo.HandlerFunc {
return c.JSON(http.StatusInternalServerError, jsonHTTPResponse{false, "Cannot delete client from database"})
}
log.Infof("Removed wireguard client: %v", client.Name)
log.Infof("Removed wireguard client: %v", client.ID)
return c.JSON(http.StatusOK, jsonHTTPResponse{true, "Client removed"})
}
}