Various typespec and compilation improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -249,8 +249,7 @@ defmodule Mobilizon.Discussions do
|
||||
{:ok, comment}
|
||||
end
|
||||
else
|
||||
comment
|
||||
|> Repo.delete()
|
||||
Repo.delete(comment)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user