Add first login route

This commit is contained in:
Achim Rohn
2025-09-17 16:30:18 +02:00
parent 2a3506d21b
commit 8bc7b1e27b
9 changed files with 104 additions and 21 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ import (
"context"
"errors"
"ersteller-lib/starter/ent/googleauth"
"ersteller-lib/starter/ent/schema"
"ersteller-lib/starter/ent/user"
"ersteller-lib/starter/google"
"fmt"
"time"
@@ -51,7 +51,7 @@ func (_c *GoogleAuthCreate) SetNillableUpdatedAt(v *time.Time) *GoogleAuthCreate
}
// SetCredentials sets the "credentials" field.
func (_c *GoogleAuthCreate) SetCredentials(v google.Credentials) *GoogleAuthCreate {
func (_c *GoogleAuthCreate) SetCredentials(v schema.Credentials) *GoogleAuthCreate {
_c.mutation.SetCredentials(v)
return _c
}