Put SystemVerify request struct above response

pull/16/head
Pancakes 7 months ago
parent f6743743fa
commit 16b73c7130
No known key found for this signature in database
GPG Key ID: 5792877BFA27DC8F

@ -519,15 +519,15 @@ func handleUpdateAll(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
}
type SystemVerifyRequest struct {
ClientSessionId string `json:"clientSessionId"`
}
type SystemVerifyResponse struct {
Valid bool `json:"valid"`
SystemData *defs.SystemSaveData `json:"systemData"`
}
type SystemVerifyRequest struct {
ClientSessionId string `json:"clientSessionId"`
}
func handleSystemVerify(w http.ResponseWriter, r *http.Request) {
uuid, err := uuidFromRequest(r)
if err != nil {

Loading…
Cancel
Save