mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-21 23:08:54 -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
|
||||
id = params[:id].to_i
|
||||
if message = Mail.message(id)
|
||||
if Mail.message(id)
|
||||
Mail.delete_message!(id)
|
||||
status 204
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user