This commit is contained in:
Preston Baxter 2023-11-16 19:45:48 -06:00
parent f703f2d1ab
commit 6f1ce7dcc1
21 changed files with 50 additions and 57 deletions

View File

@ -1,6 +1,5 @@
package services
type Series struct {
Id string `jsonapi:"primary,Series"`
}

View File

@ -1,6 +1,5 @@
package services
type ServiceType struct {
Id string `jsonapi:"primary,ServiceType"`
}

View File

@ -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)))

View File

@ -68,6 +68,5 @@ func DashboardPage(c *gin.Context) {
}
}
renderTempl(c, templates.DashboardPage(user, vendors, actions))
}

View File

@ -111,7 +111,6 @@ func ReceiveYoutubeOauth(c *gin.Context) {
return
}
oauthResp := &models.OauthCredential{}
err = json.Unmarshal(rawBody, oauthResp)
if err != nil {

View File

@ -50,5 +50,3 @@ func (va *VendorAccount) Token() *oauth2.Token {
Expiry: va.OauthCredentials.ExpiresAt,
}
}