Skip to content
Snippets Groups Projects
Commit bea91309 authored by Sven Mäder's avatar Sven Mäder :speech_balloon:
Browse files

Fix issue #1

parent b6e6692c
No related branches found
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ class RTLinksPlugin(Plugin):
api = '{}/REST/1.0/'.format(self.config['url'])
api_edit = '{}ticket/{}/edit'.format(api, number)
data = {'user': self.config['user'], 'pass': self.config['pass'],
'content': 'Status: resolved'}
'content': 'Status: {}'.format(status)}
await self.http.post(api_edit, data=data, headers=headers)
@command.passive("((^| )([rR][tT]#?))([0-9]{6})", multiple=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment