mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-02-23 09:01:29 +08:00
Put SystemVerify request struct above response
This commit is contained in:
parent
f6743743fa
commit
16b73c7130
@ -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…
x
Reference in New Issue
Block a user