Skip to content

Commit

Permalink
render json
Browse files Browse the repository at this point in the history
  • Loading branch information
parterburn committed Jan 26, 2025
1 parent 29f6286 commit 764b732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/entries_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def respond_to_ai
def email_replies_test
user = User.find(73069)
entry_every_day = user.entries.size == (Date.today - Date.parse("2025-01-25")).to_i
render text: entry_every_day
render json: entry_every_day
end

private
Expand Down

0 comments on commit 764b732

Please sign in to comment.