Respond to /addquote with a message containing the quote
This commit is contained in:
parent
f8436cadd9
commit
fbfdcfcfaf
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ def add_quote():
|
|||
quote = models.Quote(user, quote_text, channel)
|
||||
db.session.add(quote)
|
||||
db.session.commit()
|
||||
return mattermost_response("Your quote has been added.")
|
||||
return mattermost_response("{} added the quote {}".format(user, quote_text))
|
||||
|
||||
@app.route('/', methods=['GET'])
|
||||
def list_quotes():
|
||||
|
|
Loading…
Reference in a new issue