##// END OF EJS Templates
slack: fix wrong named function
dan -
r417:cd14395c default
parent child Browse files
Show More
@@ -38,6 +38,7 b' from routes.middleware import RoutesMidd'
38 import routes.util
38 import routes.util
39
39
40 import rhodecode
40 import rhodecode
41 import rhodecode.integrations # do not remove this as it registers celery tasks
41 from rhodecode.config import patches
42 from rhodecode.config import patches
42 from rhodecode.config.environment import (
43 from rhodecode.config.environment import (
43 load_environment, load_pyramid_environment)
44 load_environment, load_pyramid_environment)
@@ -176,7 +176,7 b' class SlackIntegrationType(IntegrationTy'
176 )
176 )
177 return result
177 return result
178
178
179 def format_repo_create_msg(self, data):
179 def format_repo_create_event(self, data):
180 return '<{}|{}> ({}) repository created by *{}*'.format(
180 return '<{}|{}> ({}) repository created by *{}*'.format(
181 data['repo']['url'],
181 data['repo']['url'],
182 data['repo']['repo_name'],
182 data['repo']['repo_name'],
General Comments 0
You need to be logged in to leave comments. Login now