- Transform `getAvailable` method into a promise that retrieves available vehicles from the database. - This method now takes the MySQL handler object to execute the query and returns a promise that resolves to an array of available vehicles. - It also handles error while executing the query. Issue: #20 Signed-off-by: Mathis <yidhra@tuta.io>
brief-05-back
Languages
TypeScript
100%