diff options
| author | Johann150 <johann.galle@protonmail.com> | 2022-06-14 11:55:58 +0200 |
|---|---|---|
| committer | Johann150 <johann.galle@protonmail.com> | 2022-06-14 11:55:58 +0200 |
| commit | 10d979bd65b4b5c74e20f2367de8f4803d6a14b6 (patch) | |
| tree | 0b261da990f66110daa3156fafddad03498712a5 /packages/backend/src/server/api | |
| parent | fix: remove unused parameter (diff) | |
| download | sharkey-10d979bd65b4b5c74e20f2367de8f4803d6a14b6.tar.gz sharkey-10d979bd65b4b5c74e20f2367de8f4803d6a14b6.tar.bz2 sharkey-10d979bd65b4b5c74e20f2367de8f4803d6a14b6.zip | |
fix(docs): use correct description property
Diffstat (limited to 'packages/backend/src/server/api')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/notifications/read.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/backend/src/server/api/endpoints/notifications/read.ts b/packages/backend/src/server/api/endpoints/notifications/read.ts index 3a0b91080c..7bce525a55 100644 --- a/packages/backend/src/server/api/endpoints/notifications/read.ts +++ b/packages/backend/src/server/api/endpoints/notifications/read.ts @@ -2,17 +2,14 @@ import define from '../../define.js'; import { readNotification } from '../../common/read-notification.js'; export const meta = { - desc: { - 'ja-JP': '通知を既読にします。', - 'en-US': 'Mark a notification as read.', - }, - tags: ['notifications', 'account'], requireCredential: true, kind: 'write:notifications', + description: 'Mark a notification as read.', + errors: { noSuchNotification: { message: 'No such notification.', |