[MISC] Fix linting error introduced in #1001 (#1028)

pull/1029/head^2
Amir Zarrinkafsh 2020-05-19 07:50:50 +10:00 committed by GitHub
parent fe5ebfb75a
commit 79a2139896
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -107,7 +107,11 @@ func (p *Provider) SaveSession(ctx *fasthttp.RequestCtx, userSession UserSession
store.Set(userSessionStorerKey, userSessionJSON)
p.sessionHolder.Save(ctx, store)
err = p.sessionHolder.Save(ctx, store)
if err != nil {
return err
}
return nil
}