added need_reboot endpoint to admin api

This commit is contained in:
Alexander Strizhakov 2020-04-13 14:07:23 +03:00
commit 72ef6cc4f2
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
5 changed files with 52 additions and 29 deletions

View file

@ -203,6 +203,7 @@ defmodule Pleroma.Web.Router do
get("/config", AdminAPIController, :config_show)
post("/config", AdminAPIController, :config_update)
get("/config/descriptions", AdminAPIController, :config_descriptions)
get("/need_reboot", AdminAPIController, :need_reboot)
get("/restart", AdminAPIController, :restart)
get("/moderation_log", AdminAPIController, :list_log)