#245: Started work on a new, simple tutorial system

This commit is contained in:
frikky
2022-01-02 18:20:43 +01:00
parent 1b0d517fec
commit 5123f5ce36
13 changed files with 459 additions and 359 deletions
+3 -1
View File
@@ -1021,6 +1021,7 @@ func handleInfo(resp http.ResponseWriter, request *http.Request) {
}
}
tutorialsFinished := []string{}
returnValue := shuffle.HandleInfo{
Success: true,
Username: userInfo.Username,
@@ -1035,7 +1036,8 @@ func handleInfo(resp http.ResponseWriter, request *http.Request) {
Expiration: expiration.Unix(),
},
},
EthInfo: userInfo.EthInfo,
EthInfo: userInfo.EthInfo,
Tutorials: tutorialsFinished,
}
returnData, err := json.Marshal(returnValue)