forked from FoundKeyGang/FoundKey
fix(api): (0 , ms_1.default) is not a function
This commit is contained in:
parent
a38e4b0b14
commit
8b1999dc5b
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import $ from 'cafy';
|
||||||
import define from '../../define';
|
import define from '../../define';
|
||||||
import Resolver from '@/remote/activitypub/resolver';
|
import Resolver from '@/remote/activitypub/resolver';
|
||||||
import { ApiError } from '../../error';
|
import { ApiError } from '../../error';
|
||||||
import ms from 'ms';
|
import * as ms from 'ms';
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ['federation'],
|
tags: ['federation'],
|
||||||
|
|
|
@ -11,7 +11,7 @@ import { Note } from '@/models/entities/note';
|
||||||
import { User } from '@/models/entities/user';
|
import { User } from '@/models/entities/user';
|
||||||
import { fetchMeta } from '@/misc/fetch-meta';
|
import { fetchMeta } from '@/misc/fetch-meta';
|
||||||
import { isActor, isPost, getApId } from '@/remote/activitypub/type';
|
import { isActor, isPost, getApId } from '@/remote/activitypub/type';
|
||||||
import ms from 'ms';
|
import * as ms from 'ms';
|
||||||
|
|
||||||
export const meta = {
|
export const meta = {
|
||||||
tags: ['federation'],
|
tags: ['federation'],
|
||||||
|
|
Loading…
Reference in a new issue