Updated instance api endpoints to return empty
• Updated: - instance api endpoints to return empty, /api/v1/instance /api/v1/instance/peers /api/v1/instance/activity
This commit is contained in:
@@ -7,7 +7,7 @@ class Api::V1::Instances::ActivityController < Api::BaseController
|
||||
respond_to :json
|
||||
|
||||
def show
|
||||
render_cached_json('api:v1:instances:activity:show', expires_in: 1.day) { activity }
|
||||
render json: {}, content_type: 'application/json'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
@@ -7,7 +7,7 @@ class Api::V1::Instances::PeersController < Api::BaseController
|
||||
respond_to :json
|
||||
|
||||
def index
|
||||
render_cached_json('api:v1:instances:peers:index', expires_in: 1.day) { Account.remote.domains }
|
||||
render json: {}, content_type: 'application/json'
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user