Undo logging
This commit is contained in:
@@ -6,7 +6,6 @@ module Adamantium
|
|||||||
|
|
||||||
include Deps[
|
include Deps[
|
||||||
"settings",
|
"settings",
|
||||||
"logger",
|
|
||||||
"post_utilities.slugify",
|
"post_utilities.slugify",
|
||||||
"repos.post_repo",
|
"repos.post_repo",
|
||||||
post_param_parser: "param_parser.micropub_post",
|
post_param_parser: "param_parser.micropub_post",
|
||||||
@@ -38,8 +37,6 @@ module Adamantium
|
|||||||
post_params = prepare_params(req_entity.to_h)
|
post_params = prepare_params(req_entity.to_h)
|
||||||
validation = contract.call(post_params)
|
validation = contract.call(post_params)
|
||||||
|
|
||||||
logger.info(req.params.inspect)
|
|
||||||
|
|
||||||
if validation.success?
|
if validation.success?
|
||||||
command.call(validation.to_h).bind do |post|
|
command.call(validation.to_h).bind do |post|
|
||||||
res.status = 201
|
res.status = 201
|
||||||
|
Reference in New Issue
Block a user