mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 15:16:21 +00:00
fix: pry perdido
This commit is contained in:
parent
706f0162a5
commit
9edbe9ecf1
1 changed files with 0 additions and 2 deletions
|
@ -11,8 +11,6 @@ PostService = Struct.new(:site, :usuarie, :post, :params, keyword_init: true) do
|
||||||
def create_or_update
|
def create_or_update
|
||||||
uuid = params.require(base).permit(:uuid).values.first
|
uuid = params.require(base).permit(:uuid).values.first
|
||||||
|
|
||||||
binding.pry
|
|
||||||
|
|
||||||
if uuid.blank?
|
if uuid.blank?
|
||||||
create
|
create
|
||||||
elsif (indexed_post = site.indexed_posts.find_by(post_id: uuid)).present?
|
elsif (indexed_post = site.indexed_posts.find_by(post_id: uuid)).present?
|
||||||
|
|
Loading…
Reference in a new issue