ほとんどのapiエンドポイントを認証ありにした2
This commit is contained in:
parent
e2689a1d8d
commit
2a561f16ef
@ -15,7 +15,7 @@ import { ApiError } from '../../error.js';
|
||||
export const meta = {
|
||||
tags: ['notes'],
|
||||
|
||||
requireCredential: false,
|
||||
requireCredential: true,
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
|
@ -18,6 +18,8 @@ import { CacheService } from '@/core/CacheService.js';
|
||||
export const meta = {
|
||||
tags: ['notes'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
optional: false, nullable: false,
|
||||
|
@ -20,6 +20,8 @@ import { ApiError } from '../../error.js';
|
||||
export const meta = {
|
||||
tags: ['notes'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
optional: false, nullable: false,
|
||||
|
Loading…
Reference in New Issue
Block a user