mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-29 15:34:36 +02:00
attempt to fix e2e
This commit is contained in:
@@ -134,7 +134,7 @@ const endpoints: IEndpoint[] = Object.entries(endpointsObject).map(([name, ep])
|
||||
return {
|
||||
name: name,
|
||||
get meta() {
|
||||
return ep.meta ?? {};
|
||||
return ep?.meta ?? {};
|
||||
},
|
||||
get params() {
|
||||
return ep.paramDef;
|
||||
|
||||
@@ -9,13 +9,13 @@ import { basename, isAbsolute } from 'node:path';
|
||||
import { randomUUID } from 'node:crypto';
|
||||
import { inspect } from 'node:util';
|
||||
import WebSocket, { ClientOptions } from 'ws';
|
||||
import fetch, { File, RequestInit, type Headers } from 'node-fetch';
|
||||
import fetch, { RequestInit, type Headers } from 'node-fetch';
|
||||
import * as htmlParser from 'node-html-parser';
|
||||
import { DataSource } from 'typeorm';
|
||||
import { type Response } from 'node-fetch';
|
||||
import Fastify from 'fastify';
|
||||
import { entities } from '../src/postgres.js';
|
||||
import { loadConfig } from '../src/config.js';
|
||||
import { entities } from '@/postgres.js';
|
||||
import { loadConfig } from '@/config.js';
|
||||
import type * as misskey from 'misskey-js';
|
||||
import { DEFAULT_POLICIES } from '@/core/RoleService.js';
|
||||
import { validateContentTypeSetAsActivityPub } from '@/core/activitypub/misc/validator.js';
|
||||
|
||||
Reference in New Issue
Block a user