Skip to content

Commit

Permalink
remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
alldoami committed Feb 12, 2025
1 parent 5686460 commit 0f4b2d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ func queryRecipient(email string) (*RecipientResponse, bool, error) {
return nil, false, fmt.Errorf("error reading Databricks response body: %w", err)
}

fmt.Printf("🔍 Raw Databricks API Response: %s\n", string(body))

if resp.StatusCode == http.StatusOK {
var recipient RecipientResponse
if err := json.Unmarshal(body, &recipient); err != nil {
Expand Down Expand Up @@ -283,7 +281,6 @@ func main() {
}

// If recipient exists and has a valid token, return it
fmt.Printf("🔍 Debug: Recipient struct: %+v\n", recipient)
return c.Status(http.StatusOK).JSON(fiber.Map{
"message": fmt.Sprintf("Token for %s is still valid", email),
"activation_link": recipient.Tokens[0].ActivationURL,
Expand Down

0 comments on commit 0f4b2d4

Please # to comment.