From 16b73c71303ffbf442945c7c9bd017339cb199fe Mon Sep 17 00:00:00 2001 From: Pancakes Date: Fri, 7 Jun 2024 22:58:50 -0400 Subject: [PATCH] Put SystemVerify request struct above response --- api/endpoints.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/endpoints.go b/api/endpoints.go index 3894067..54edbc0 100644 --- a/api/endpoints.go +++ b/api/endpoints.go @@ -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 {