Skip to content

Commit

Permalink
Log client ID when removing client.
Browse files Browse the repository at this point in the history
  • Loading branch information
supaflyster committed Sep 22, 2024
1 parent 27c6447 commit 510ba54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
}
}
Expand Down

0 comments on commit 510ba54

Please sign in to comment.