use models.TeamData instead of declaring struct twice
This commit is contained in:
parent
696cc951fa
commit
6f2cd6c99a
|
@ -59,11 +59,6 @@ type Provider struct {
|
|||
openIDProvider *oidc.Provider
|
||||
Oauth2Config *oauth2.Config `json:"-"`
|
||||
}
|
||||
type TeamData struct {
|
||||
TeamName string
|
||||
OidcID string
|
||||
Description string
|
||||
}
|
||||
type claims struct {
|
||||
Email string `json:"email"`
|
||||
Name string `json:"name"`
|
||||
|
|
Loading…
Reference in New Issue
Block a user