import $ from 'cafy'; import define from '../../../define'; import { removeRelay } from '@/services/relay'; export const meta = { tags: ['admin'], requireCredential: true, requireModerator: true, params: { inbox: { validator: $.str, }, }, } as const; // eslint-disable-next-line import/no-default-export export default define(meta, async (ps, user) => { return await removeRelay(ps.inbox); });