monkeeShark/src/server/api/endpoints/admin/relays/list.ts

21 lines
347 B
TypeScript
Raw Normal View History

import define from '../../../define';
import { listRelay } from '../../../../../services/relay';
export const meta = {
desc: {
'ja-JP': 'List relay'
},
tags: ['admin'],
requireCredential: true as const,
requireModerator: true as const,
params: {
},
};
export default define(meta, async (ps, user) => {
return await listRelay();
});