mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 06:05:06 +03:00
[Admin API] Fill Request
attribute in router response
This commit is contained in:
parent
1420ea5662
commit
97750705cd
1 changed files with 1 additions and 0 deletions
|
@ -350,6 +350,7 @@ func (a *AdminSocket) handleRequest(conn net.Conn) {
|
|||
if resp.Response, err = json.Marshal(res); err != nil {
|
||||
return fmt.Errorf("Failed to marshal response: %w", err)
|
||||
}
|
||||
resp.Request = buf
|
||||
resp.Status = "success"
|
||||
return nil
|
||||
}(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue