B: gofmt
This commit is contained in:
parent
f703f2d1ab
commit
6f1ce7dcc1
|
@ -1,6 +1,5 @@
|
|||
package services
|
||||
|
||||
|
||||
type Series struct {
|
||||
Id string `jsonapi:"primary,Series"`
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package services
|
||||
|
||||
|
||||
type ServiceType struct {
|
||||
Id string `jsonapi:"primary,ServiceType"`
|
||||
}
|
||||
|
|
|
@ -146,7 +146,6 @@ func LoginHandler(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
if user == nil {
|
||||
log.Warnf("No user was found for: %s", reqBody.Email)
|
||||
renderTempl(c, templates.LoginPage(fmt.Sprintf("No user found for %s", reqBody.Email)))
|
||||
|
|
|
@ -68,6 +68,5 @@ func DashboardPage(c *gin.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
renderTempl(c, templates.DashboardPage(user, vendors, actions))
|
||||
}
|
||||
|
|
|
@ -111,7 +111,6 @@ func ReceiveYoutubeOauth(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
|
||||
oauthResp := &models.OauthCredential{}
|
||||
err = json.Unmarshal(rawBody, oauthResp)
|
||||
if err != nil {
|
||||
|
|
|
@ -50,5 +50,3 @@ func (va *VendorAccount) Token() *oauth2.Token {
|
|||
Expiry: va.OauthCredentials.ExpiresAt,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue