mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
fix(api): (0 , ms_1.default) is not a function
This commit is contained in:
parent
a38e4b0b14
commit
8b1999dc5b
@ -2,7 +2,7 @@ import $ from 'cafy';
|
||||
import define from '../../define';
|
||||
import Resolver from '@/remote/activitypub/resolver';
|
||||
import { ApiError } from '../../error';
|
||||
import ms from 'ms';
|
||||
import * as ms from 'ms';
|
||||
|
||||
export const meta = {
|
||||
tags: ['federation'],
|
||||
|
@ -11,7 +11,7 @@ import { Note } from '@/models/entities/note';
|
||||
import { User } from '@/models/entities/user';
|
||||
import { fetchMeta } from '@/misc/fetch-meta';
|
||||
import { isActor, isPost, getApId } from '@/remote/activitypub/type';
|
||||
import ms from 'ms';
|
||||
import * as ms from 'ms';
|
||||
|
||||
export const meta = {
|
||||
tags: ['federation'],
|
||||
|
Loading…
Reference in New Issue
Block a user