Remove unused variable (threw warning)

This commit is contained in:
Samuel Cochran 2016-04-23 15:45:25 +08:00
parent ba4ca7f8d6
commit e2d89b65db

View File

@ -158,7 +158,7 @@ module MailCatcher
delete "/messages/:id" do
id = params[:id].to_i
if message = Mail.message(id)
if Mail.message(id)
Mail.delete_message!(id)
status 204
else