[Pool page] - Parse regexes and addresses in the backend
This commit is contained in:
@@ -63,6 +63,9 @@ class PoolsRepository {
|
||||
const [rows] = await connection.query(query, [poolId]);
|
||||
connection.release();
|
||||
|
||||
rows[0].regexes = JSON.parse(rows[0].regexes);
|
||||
rows[0].addresses = JSON.parse(rows[0].addresses);
|
||||
|
||||
return rows[0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user