Inject generateAvatarImage into insertUser
This commit is contained in:
1 parent
b55407489b
commit
57cad8d31a
1 file changed
+1
-1
@@ -15,7 +15,7 @@ const SERVICE_NAME = "userModule";
|
||||
* @returns {Promise<UserModel>}
|
||||
* @throws {Error}
|
||||
*/
|
||||
const insertUser = async (userData, imageFile) => {
|
||||
const insertUser = async (userData, imageFile, GenerateAvatarImage) => {
|
||||
try {
|
||||
if (imageFile) {
|
||||
// 1. Save the full size image
|
||||
|
||||
Reference in new issue
Block a user