1
0
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:
kakkokari-gtyih
2025-12-16 10:16:20 +09:00
parent e9c8761e75
commit ad4c1a41ea
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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';