fix: forked templete delay
This commit is contained in:
parent
7c664addbd
commit
1a93477635
|
@ -26,7 +26,7 @@ class MessageTemplate::ProjectForked < MessageTemplate
|
|||
end
|
||||
return '', '', '' if receivers.blank?
|
||||
content = sys_notice.gsub('{nickname1}', user&.real_name).gsub('{nickname2}', project&.owner&.real_name).gsub('{repository}', project&.name)
|
||||
url = notification_url.gsub('{login}', user&.login).gsub('{identifier}', project&.identifier)
|
||||
url = notification_url.gsub('{owner}', user&.login).gsub('{identifier}', project&.identifier)
|
||||
return receivers_string(receivers), content, url
|
||||
rescue => e
|
||||
Rails.logger.info("MessageTemplate::ProjectForked.get_message_content [ERROR] #{e}")
|
||||
|
|
Loading…
Reference in New Issue