4
0
Fork 0

Fix typo.

This commit is contained in:
Alex Myasoedov 2018-03-05 20:24:43 -05:00
parent 3d8ee42287
commit c6b9f67933

View file

@ -73,7 +73,7 @@ func NewApp() *gin.Engine {
mustHaveSession := func(c *gin.Context) (string, error) {
session := sessions.Default(c)
val := session.Get("name")
emptySession := errors.New("Emtpy session")
emptySession := errors.New("Empty session")
if val == nil {
c.String(400, "No context")
return "", emptySession