You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/updateSchema.js
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,9 @@ async function sendUpdateEmail() {
33
33
}
34
34
35
35
for(constuserIdofuserIds){
36
-
const[user]=query('SELECT email, name FROM "user" WHERE id = ?',[userId]);
37
-
constactivePlugins=query('SELECT name, id FROM plugin WHERE user_id = ? AND status = 1',[userId]);
36
+
constuser=query('SELECT email, name FROM "user" WHERE id = ?',[userId]);
37
+
if(!user||user.length===0)continue;
38
+
const[{ email, name }]=user;
38
39
constemailBody=`We have recently updated our plugin system to support CodeMirror editor. Following plugins are pending update to specify supported editor:
0 commit comments