Browse Source

format

chapril
Mayel 8 months ago committed by Thomas Citharel
parent
commit
5e64d0515e
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
  1. 4
      Makefile
  2. 1
      lib/federation/activity_stream/converter/comment.ex

4
Makefile

@ -21,5 +21,7 @@ test: stop
@bash docker/message.sh "Running tests"
docker-compose -f docker-compose.yml -f docker-compose.test.yml run api mix test $(only)
@bash docker/message.sh "Done running tests"
format:
docker-compose run --rm api bash -c "mix format && mix credo --strict"
@bash docker/message.sh "Code is now ready to commit :)"
target: init

1
lib/federation/activity_stream/converter/comment.ex

@ -50,7 +50,6 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Comment do
Logger.debug("Inserting full comment")
Logger.debug(inspect(object))
data = %{
text: object["content"],
url: object["id"],

Loading…
Cancel
Save