1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-25 23:09:22 +00:00

Fix error

This commit is contained in:
Pierre HUBERT 2020-01-03 17:38:30 +01:00
parent 2453deeec3
commit ca5dbbd5f6

View File

@ -20,7 +20,7 @@ const TABLE_NAME = "texte";
* Database mapping * Database mapping
*/ */
const PostDBTypes : Record<string, PostKind> = { const PostDBTypes : Record<string, PostKind> = {
"texte": PostKind.POST_KIND_IMAGE, "texte": PostKind.POST_KIND_TEXT,
"image": PostKind.POST_KIND_IMAGE, "image": PostKind.POST_KIND_IMAGE,
"webpage_link": PostKind.POST_KIND_WEBLINK, "webpage_link": PostKind.POST_KIND_WEBLINK,
"pdf": PostKind.POST_KIND_PDF, "pdf": PostKind.POST_KIND_PDF,