From babd6b65162af764820feb5021d8e4ea2565cb1e Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 3 Jan 2020 10:32:44 +0100 Subject: [PATCH] Fix error --- src/controllers/PostsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/PostsController.ts b/src/controllers/PostsController.ts index d3b115f..16a3b33 100644 --- a/src/controllers/PostsController.ts +++ b/src/controllers/PostsController.ts @@ -50,7 +50,7 @@ export class PostsController { public static async PostToAPI(p: Post) : Promise { let data : any = { ID: p.id, - useriD: p.userID, + userID: p.userID, user_page_id: p.userPageID, group_id: p.groupID, post_time: p.timeCreate,