removed extraneous call to store.Get
This commit is contained in:
@@ -110,8 +110,6 @@ func attempt(w http.ResponseWriter, req *http.Request) {
|
||||
} else {
|
||||
score -= 1
|
||||
}
|
||||
|
||||
session, _ = store.Get(req, "Score")
|
||||
session.Values["Score"] = score
|
||||
session.Save(req, w)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user