Shun Miyazawa 4 lat temu
rodzic
commit
48a751806a
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/server/routes/apiv3/users.js

+ 2 - 0
src/server/routes/apiv3/users.js

@@ -137,6 +137,8 @@ module.exports = (crowi) => {
             appTitle,
             appTitle,
           },
           },
         });
         });
+        // eslint-disable-next-line no-await-in-loop
+        await User.updateInvitationEmailSended(user.user.id);
       }
       }
       catch (err) {
       catch (err) {
         logger.error(err);
         logger.error(err);