Commit fb7d2349 authored by Ivar Derksen's avatar Ivar Derksen
Browse files

Refactor: checkAndUpateConfiguration -> checkAndUpdateConfiguration

parent 7f399206
......@@ -264,7 +264,7 @@ func serverName(hostname string, request irma.SessionRequest, conf *irma.Configu
func (session *session) processSessionInfo() {
defer session.recoverFromPanic()
if err := session.checkAndUpateConfiguration(); err != nil {
if err := session.checkAndUpdateConfiguration(); err != nil {
session.fail(err.(*irma.SessionError))
return
}
......@@ -545,7 +545,7 @@ func (session *session) checkKeyshareEnrollment() bool {
return true
}
func (session *session) checkAndUpateConfiguration() error {
func (session *session) checkAndUpdateConfiguration() error {
// Download missing credential types/issuers/public keys from the scheme manager
downloaded, err := session.client.Configuration.Download(session.request)
if uerr, ok := err.(*irma.UnknownIdentifierError); ok {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment