|
@ -41,7 +41,7 @@ class SessionRepo {
|
|
|
*/
|
|
|
static
|
|
|
findAll(userId, handler) {
|
|
|
let sql = "select session_id from " + DB_TABLES.SessionParticipants + " w where w.participant_id = ? group by w.session_id";
|
|
|
let sql = "select session_id from " + DB_TABLES.Participants + " w where w.participant_id = ? group by w.session_id";
|
|
|
let sessionSQL = "select id,name,type,create_date from " + DB_TABLES.Sessions + " s where s.id in(" + sql + ")";
|
|
|
ImDb.execQuery({
|
|
|
"sql": sessionSQL,
|