mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-22 15:28:52 -05:00
Remove unused variable (threw warning)
This commit is contained in:
parent
ba4ca7f8d6
commit
e2d89b65db
@ -158,7 +158,7 @@ module MailCatcher
|
|||||||
|
|
||||||
delete "/messages/:id" do
|
delete "/messages/:id" do
|
||||||
id = params[:id].to_i
|
id = params[:id].to_i
|
||||||
if message = Mail.message(id)
|
if Mail.message(id)
|
||||||
Mail.delete_message!(id)
|
Mail.delete_message!(id)
|
||||||
status 204
|
status 204
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user