Skip to content

Commit cf796ba

Browse files
Merge pull request #6078 from Countly/member-icon-fix
fix: Member photo upload problem
2 parents ace5fe0 + 8f71c03 commit cf796ba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
Fixes:
33
- [content_builder] Reformulate asset library and add asset drag and drop upload to builder input
44
- [content_builder] Fixed content block layout type select visibility
5-
5+
- [user-management] Fixed issue with uploading member icon
6+
67
## Version 25.03.2
78
Fixes:
89
- [user-management] Prevent global admin from self-revoke and self-delete

frontend/express/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1701,7 +1701,7 @@ Promise.all([plugins.dbConnection(countlyConfig), plugins.dbConnection("countly_
17011701
try {
17021702
// This is to check that the uploaded image is a real image
17031703
// If jimp cannot read it then it is not a real image
1704-
const image = await jimp.read(tmp_path);
1704+
const image = await jimp.Jimp.read(tmp_path);
17051705

17061706
if (!image) {
17071707
fs.unlink(tmp_path, function() {});

0 commit comments

Comments
 (0)