mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 20:47:17 +02:00
fix: remove reference to hallucinated schema, fix hideSave definitions
This commit is contained in:
@@ -9,12 +9,14 @@ get:
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: example.org
|
||||
- name: term
|
||||
in: query
|
||||
description: The time period to retrieve analytics for (daily or hourly)
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
example: hourly
|
||||
responses:
|
||||
"200":
|
||||
description: Analytics data
|
||||
@@ -33,13 +35,16 @@ get:
|
||||
received:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/stats.yaml#/StatsArray
|
||||
type: number
|
||||
receivedErr:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/stats.yaml#/StatsArray
|
||||
type: number
|
||||
sent:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/stats.yaml#/StatsArray
|
||||
type: number
|
||||
hideSave:
|
||||
type: number
|
||||
description: A flag to instruct the template engine to hide the save button
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
|
||||
@@ -13,11 +13,17 @@ get:
|
||||
properties:
|
||||
title:
|
||||
type: string
|
||||
hideSave:
|
||||
type: boolean
|
||||
description: A flag to instruct the template engine to hide the save button
|
||||
errors:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../../../components/schemas/admin/error.yaml#/ErrorObject
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
body:
|
||||
type: string
|
||||
stack:
|
||||
type: string
|
||||
hostname:
|
||||
type: string
|
||||
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
|
||||
@@ -104,7 +104,6 @@ federationController.errors = async function (req, res) {
|
||||
|
||||
res.render('admin/federation/errors', {
|
||||
title: '[[admin/menu:federation/errors]]',
|
||||
hideSave: 1,
|
||||
errors,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user