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
@@ -5,8 +5,8 @@ package ent
import (
"encoding/json"
"ersteller-lib/starter/ent/googleauth"
"ersteller-lib/starter/ent/schema"
"ersteller-lib/starter/ent/user"
"ersteller-lib/starter/google"
"fmt"
"strings"
"time"
@@ -25,7 +25,7 @@ type GoogleAuth struct {
// UpdatedAt holds the value of the "updated_at" field.
UpdatedAt time.Time `json:"updated_at,omitempty"`
// Credentials holds the value of the "credentials" field.
Credentials google.Credentials `json:"credentials,omitempty"`
Credentials schema.Credentials `json:"credentials,omitempty"`
// Edges holds the relations/edges for other nodes in the graph.
// The values are being populated by the GoogleAuthQuery when eager-loading is set.
Edges GoogleAuthEdges `json:"edges"`