5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 10:46:21 +00:00

fix: pry perdido

This commit is contained in:
f 2024-06-05 18:02:14 -03:00
parent 706f0162a5
commit 9edbe9ecf1
No known key found for this signature in database

View file

@ -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?