From fc6592ec53e6d30e08a62258eb25444b2689d3ef Mon Sep 17 00:00:00 2001 From: Murtaza Patrawala <34130764+murtaza98@users.noreply.github.com> Date: Tue, 4 Aug 2020 20:01:02 +0530 Subject: [PATCH] bugfix for uploading files from livechat (#18474) Co-authored-by: Renato Becker --- 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; },