mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 06:13:08 +02:00
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 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 a new issue