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

This commit is contained in:
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

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
}