Fix kwargs

This commit is contained in:
2023-02-03 11:46:52 +11:00
parent 2ff8f0a32f
commit 10879cd092

View File

@@ -13,7 +13,7 @@ module Adamantium
end
if params.key? :add
post_repo.tag_post(post.id, params[:add][:category])
post_repo.tag_post(post_id: post.id, tags: params[:add][:category])
end
if params.key? :delete