Transitioned from Plan to Build mode
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 17d62187-995b-45bd-98b9-6f10e3ed6096 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/XE1wdRt Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -49,6 +49,7 @@ async function countOpens({ userId, appId } = {}) {
|
||||
params.push(appId);
|
||||
query += ` AND app_id = $${params.length}`;
|
||||
}
|
||||
|
||||
const { rows } = await pool.query(query, params);
|
||||
return rows[0].c;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user