projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a14e1c0
)
Fix lint
author
Sean King
<seanking2919@protonmail.com>
Sun, 29 Aug 2021 00:17:09 +0000
(18:17 -0600)
committer
Sean King
<seanking2919@protonmail.com>
Sun, 29 Aug 2021 00:17:09 +0000
(18:17 -0600)
lib/pleroma/web/api_spec/operations/pleroma_app_operation.ex
patch
|
blob
|
history
lib/pleroma/web/pleroma_api/controllers/app_controller.ex
patch
|
blob
|
history
lib/pleroma/web/pleroma_api/views/app_view.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/api_spec/operations/pleroma_app_operation.ex
b/lib/pleroma/web/api_spec/operations/pleroma_app_operation.ex
index efaf81af094bc3c15f526815dfb9b852831fb4a8..582a169ee8d037e86c7a189544a25c80fd6e88aa 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/pleroma_app_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/pleroma_app_operation.ex
@@
-28,4
+28,4
@@
defmodule Pleroma.Web.ApiSpec.PleromaAppOperation do
defp array_of_apps do
%Schema{type: :array, items: App, example: [App.schema().example]}
end
-end
\ No newline at end of file
+end
diff --git
a/lib/pleroma/web/pleroma_api/controllers/app_controller.ex
b/lib/pleroma/web/pleroma_api/controllers/app_controller.ex
index 6d46d917c470ec4e15892315b9517feb4675ac25..d857f424f98ec19929174a720c756d003b0dfa20 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/controllers/app_controller.ex
+++ b/
lib/pleroma/web/pleroma_api/controllers/app_controller.ex
@@
-20,4
+20,4
@@
defmodule Pleroma.Web.PleromaAPI.AppController do
render(conn, "index.json", %{apps: apps})
end
end
-end
\ No newline at end of file
+end
diff --git
a/lib/pleroma/web/pleroma_api/views/app_view.ex
b/lib/pleroma/web/pleroma_api/views/app_view.ex
index 7dd560f8f9079c8a7e17d89e5ba8eef3fbed1113..6b5d838f5d053ac439277511ebf8ce11439ad73f 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/views/app_view.ex
+++ b/
lib/pleroma/web/pleroma_api/views/app_view.ex
@@
-8,4
+8,4
@@
defmodule Pleroma.Web.PleromaAPI.AppView do
def render("index.json", %{apps: apps}) do
render_many(apps, Pleroma.Web.MastodonAPI.AppView, "show.json")
end
-end
\ No newline at end of file
+end