Signed-off-by: brookjeynes me@brookjeynes.dev
+1
-1
internal/server/app.go
+1
-1
internal/server/app.go
+2
-2
internal/server/handlers/login.go
+2
-2
internal/server/handlers/login.go
···-htmx.HxError(w, http.StatusBadGateway, fmt.Sprintf("'%s' is an invalid handle. Did you mean %s.bsky.social?", handle, handle))
···+htmx.HxError(w, http.StatusBadRequest, fmt.Sprintf("'%s' is an invalid handle. Did you mean %s.bsky.social?", handle, handle))
+1
-1
internal/server/handlers/profile.go
+1
-1
internal/server/handlers/profile.go
+88
-6
internal/server/oauth/handler.go
+88
-6
internal/server/oauth/handler.go
·········
·········+htmx.HxError(w, http.StatusBadRequest, fmt.Sprintf("'%s' is an invalid handle", resolved.Handle.String()))+ex, _ := comatproto.RepoGetRecord(r.Context(), client, "", yoten.ActorProfileNSID, did, "self")+htmx.HxError(w, http.StatusInternalServerError, "Failed to announce profile creation, try again later")
+4
-1
internal/server/oauth/oauth.go
+4
-1
internal/server/oauth/oauth.go
·········
······+func New(config *config.Config, ph posthog.Client, idResolver *atproto.Resolver, logger *slog.Logger) (*OAuth, error) {···