From ca5dbbd5f645db37da7f05fb014d364be0f5ad77 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 3 Jan 2020 17:38:30 +0100 Subject: [PATCH] Fix error --- src/helpers/PostsHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/PostsHelper.ts b/src/helpers/PostsHelper.ts index 5aa1ab8..daef716 100644 --- a/src/helpers/PostsHelper.ts +++ b/src/helpers/PostsHelper.ts @@ -20,7 +20,7 @@ const TABLE_NAME = "texte"; * Database mapping */ const PostDBTypes : Record = { - "texte": PostKind.POST_KIND_IMAGE, + "texte": PostKind.POST_KIND_TEXT, "image": PostKind.POST_KIND_IMAGE, "webpage_link": PostKind.POST_KIND_WEBLINK, "pdf": PostKind.POST_KIND_PDF,