summary refs log tree commit diff
path: root/lib/getPosts.ts
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-14 09:47:28 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-14 09:47:51 +0200
commit49e82e812812ba75175d98173379d2e416e17b8f (patch)
treef67bdcffce9aca8a76b534124a0eabbe85658768 /lib/getPosts.ts
parent262ebdc07892f3c892d4831c276444df6f6e22f1 (diff)
downloadkronikarz-49e82e812812ba75175d98173379d2e416e17b8f.tar.gz
kronikarz-49e82e812812ba75175d98173379d2e416e17b8f.zip
Add getPost
Diffstat (limited to 'lib/getPosts.ts')
-rw-r--r--lib/getPosts.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getPosts.ts b/lib/getPosts.ts
index 69a353f..1821f12 100644
--- a/lib/getPosts.ts
+++ b/lib/getPosts.ts
@@ -1,5 +1,5 @@
 import { Post } from "./interfaces";
-import parsePost from "./parsePost";
+import { parsePost } from "./parsePost";
 import { readDir } from "./utils";
 
 function getPosts(path: string): Array<Post> {