diff --git a/appview/oauth/accounts_test.go b/appview/oauth/accounts_test.go --- a/appview/oauth/accounts_test.go +++ b/appview/oauth/accounts_test.go @@ -6,14 +6,14 @@ func TestAccountRegistry_AddAccount(t *testing.T) { tests := []struct { - name string - initial []AccountInfo - addDid string - addHandle string - addSessionId string - wantErr error - wantLen int - wantSessionId string + name string + initial []AccountInfo + addDid string + addHandle string + addSessionId string + wantErr error + wantLen int + wantSessionId string }{ { name: "add first account", diff --git a/appview/oauth/consts.go b/appview/oauth/consts.go --- a/appview/oauth/consts.go +++ b/appview/oauth/consts.go @@ -1,11 +1,11 @@ package oauth const ( - SessionName = "appview-session-v2" - AccountsName = "appview-accounts-v2" - AuthReturnName = "appview-auth-return" - AuthReturnURL = "return_url" - AuthAddAccount = "add_account" + SessionName = "appview-session-v2" + AccountsName = "appview-accounts-v2" + AuthReturnName = "appview-auth-return" + AuthReturnURL = "return_url" + AuthAddAccount = "add_account" SessionHandle = "handle" SessionDid = "did" SessionId = "id"