mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 23:23:38 +00:00
Merge branch 'rails' of 0xacab.org:sutty/sutty into rails
This commit is contained in:
commit
a14d38bb9d
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ class GitlabNotifierJob < ApplicationJob
|
||||||
count: 1,
|
count: 1,
|
||||||
issue: @issue['iid'],
|
issue: @issue['iid'],
|
||||||
user_agents: [user_agent].compact,
|
user_agents: [user_agent].compact,
|
||||||
params: [request&.filtered_parameters].compact,
|
params: request&.filtered_parameters&.as_json,
|
||||||
urls: [url].compact
|
urls: [url].compact
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
@ -192,7 +192,7 @@ class GitlabNotifierJob < ApplicationJob
|
||||||
```
|
```
|
||||||
#{request.request_method} #{url}
|
#{request.request_method} #{url}
|
||||||
|
|
||||||
#{pp request.filtered_parameters}
|
#{pp request.filtered_parameters.as_json}
|
||||||
```
|
```
|
||||||
|
|
||||||
REQUEST
|
REQUEST
|
||||||
|
|
|
@ -270,7 +270,7 @@ class Post
|
||||||
yaml['layout'] = layout.name.to_s
|
yaml['layout'] = layout.name.to_s
|
||||||
yaml['uuid'] = uuid.value
|
yaml['uuid'] = uuid.value
|
||||||
# Y que no se procese liquid
|
# Y que no se procese liquid
|
||||||
yaml['liquid'] = false
|
yaml['render_with_liquid'] = false
|
||||||
yaml['usuaries'] = usuaries.map(&:id).uniq
|
yaml['usuaries'] = usuaries.map(&:id).uniq
|
||||||
yaml['created_at'] = created_at.value
|
yaml['created_at'] = created_at.value
|
||||||
yaml['last_modified_at'] = modified_at
|
yaml['last_modified_at'] = modified_at
|
||||||
|
|
Loading…
Reference in a new issue