docs: fix improper verbiage in category watch schema

This commit is contained in:
Julian Lam
2023-11-03 10:41:46 -04:00
parent 1b8dcbc2d7
commit f8cc8548bb

View File

@@ -14,14 +14,14 @@ put:
This API call does not pertain to notifications for new topics in categories. This API call does not pertain to notifications for new topics in categories.
That behaviour is handled by a third-party plugin — nodebb-plugin-category-notifications That behaviour is handled by a third-party plugin — nodebb-plugin-category-notifications
N.B. When a category's watch state is updated, all of that category's children also have their watch states updated. Additionally, when a category's watch state is updated, all of that category's children also have their watch states updated.
parameters: parameters:
- in: path - in: path
name: cid name: cid
schema: schema:
type: string type: string
required: true required: true
description: a valid category id, `0` for global privileges, `admin` for admin privileges description: a valid category id
example: 1 example: 1
requestBody: requestBody:
required: true required: true
@@ -69,7 +69,7 @@ delete:
schema: schema:
type: string type: string
required: true required: true
description: a valid category id, `0` for global privileges, `admin` for admin privileges description: a valid category id
example: 1 example: 1
requestBody: requestBody:
required: true required: true