nic-chen commented on a change in pull request #1049:
URL: https://github.com/apache/apisix-dashboard/pull/1049#discussion_r545939271



##########
File path: api/internal/core/entity/entity.go
##########
@@ -83,6 +83,7 @@ type Route struct {
        ServiceProtocol string                 
`json:"service_protocol,omitempty"`
        Labels          map[string]string      `json:"labels,omitempty"`
        EnableWebsocket bool                   
`json:"enable_websocket,omitempty"`
+       Status          uint8                  `json:"status"`

Review comment:
       @imjoey  It's because we process the raw request body and set default 
value when there is no `status`
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to