diff --git a/internal/server/handle_api_sync.go b/internal/server/handle_api_sync.go index 344ce3f..8aa89b1 100644 --- a/internal/server/handle_api_sync.go +++ b/internal/server/handle_api_sync.go @@ -50,7 +50,7 @@ func handleSync(bs *booking.Service) http.HandlerFunc { w.Header().Set("Content-Type", "application/json") w.WriteHeader(http.StatusCreated) - if err := json.NewEncoder(w).Encode(fmt.Sprintf("👍 %s", bookingURL)); err != nil { + if err := json.NewEncoder(w).Encode(map[string]string{"bookingURL": bookingURL}); err != nil { slog.Error("failed to write response", slog.Any("error", err)) } }