From 9edbe9ecf16acf66298864eb59c397bbaade9ce4 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 5 Jun 2024 18:02:14 -0300 Subject: [PATCH] fix: pry perdido --- app/services/post_service.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/services/post_service.rb b/app/services/post_service.rb index bb49c5bd..5f27211d 100644 --- a/app/services/post_service.rb +++ b/app/services/post_service.rb @@ -11,8 +11,6 @@ PostService = Struct.new(:site, :usuarie, :post, :params, keyword_init: true) do def create_or_update uuid = params.require(base).permit(:uuid).values.first - binding.pry - if uuid.blank? create elsif (indexed_post = site.indexed_posts.find_by(post_id: uuid)).present?