From 7363d7c0ec828b435032fd6c491fd2f704bd6df3 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Mon, 14 Oct 2019 23:46:09 +0300 Subject: [PATCH] api articles -> server articles --- src/{api => server}/articles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/{api => server}/articles.ts (97%) diff --git a/src/api/articles.ts b/src/server/articles.ts similarity index 97% rename from src/api/articles.ts rename to src/server/articles.ts index 9870652b..5f1d8285 100644 --- a/src/api/articles.ts +++ b/src/server/articles.ts @@ -2,7 +2,7 @@ import Article from '../core/Article' import ImageArtifactType from '../core/ImageArtifactType' import { sortBy } from '../utils/sort' import { timestamp } from '../lib/date' -import { encodeImage } from './image' +import { encodeImage } from '../api/image' export const sortArticleByDate = sortBy( x => timestamp(new Date(x.date))