Update imports

This commit is contained in:
Achim Rohn
2025-11-15 12:16:59 +01:00
parent 18d05566e2
commit 0db7fd5a33
15 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -2,8 +2,8 @@ package google
import (
"context"
ersteller_lib "ersteller-lib"
google_http "ersteller-lib/authentication/google/http"
"git.gorlug.de/code/ersteller"
google_http "git.gorlug.de/code/ersteller/authentication/google/http"
"git.gorlug.de/code/ersteller/starter/ent"
"git.gorlug.de/code/ersteller/starter/ent/user"
)
@@ -25,7 +25,7 @@ func (d *Database) GetUserIdByEmail(ctx context.Context, email string) (int, err
func (d *Database) CreateUser(ctx context.Context, email string) (int, error) {
newUser, err := d.db.User.Create().SetEmail(email).Save(ctx)
if err != nil {
ersteller_lib.LogError("Failed to create user: %v", err)
ersteller.LogError("Failed to create user: %v", err)
return -1, err
}
return newUser.ID, nil