mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 13:20:41 +01:00
fix: group cover upload not working for s3 upload (#7571)
This commit is contained in:
committed by
Barış Soner Uşaklı
parent
b990312088
commit
8945ebcb81
@@ -38,6 +38,7 @@ module.exports = function (Groups) {
|
||||
image.uploadImage(filename, 'files', {
|
||||
path: tempPath,
|
||||
uid: uid,
|
||||
name: 'groupCover',
|
||||
}, next);
|
||||
},
|
||||
function (uploadData, next) {
|
||||
@@ -54,6 +55,7 @@ module.exports = function (Groups) {
|
||||
image.uploadImage('groupCoverThumb-' + data.groupName + path.extname(tempPath), 'files', {
|
||||
path: tempPath,
|
||||
uid: uid,
|
||||
name: 'groupCover',
|
||||
}, next);
|
||||
},
|
||||
function (uploadData, next) {
|
||||
|
||||
Reference in New Issue
Block a user