Skip to content

Commit

Permalink
fix to get all fields from proposals table
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR committed Aug 21, 2024
1 parent 5d08f9c commit c7e8b22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eip4824.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ router.get('/:space/proposals', async (req, res) => {
if (!space.verified) return res.status(400).json({ error: 'INVALID' });

proposals = await db.queryAsync(
'SELECT id, title, start, end FROM proposals WHERE space = ? ORDER BY created DESC LIMIT 20',
'SELECT * FROM proposals WHERE space = ? ORDER BY created DESC LIMIT 20',
[id]
);
} catch (e) {
Expand Down

0 comments on commit c7e8b22

Please sign in to comment.