From 9a7b12645b899aecfb6c0baed15f986ffc8fbdc4 Mon Sep 17 00:00:00 2001 From: murtaza98 Date: Sun, 2 Aug 2020 23:40:59 +0530 Subject: [PATCH] bugfix for uploading files from livechat --- app/apps/server/converters/uploads.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/apps/server/converters/uploads.js b/app/apps/server/converters/uploads.js index e138e162e0f0..d95f5d10067f 100644 --- a/app/apps/server/converters/uploads.js +++ b/app/apps/server/converters/uploads.js @@ -53,7 +53,7 @@ export class AppUploadsConverter { return undefined; } - const result = this.orch.getConverters().get('users').convertByToken(upload.visitorToken); + const result = this.orch.getConverters().get('visitors').convertByToken(upload.visitorToken); delete upload.visitorToken; return result; },