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