Skip to content

Commit

Permalink
fix(planter-registration-repo): change selector back to * so that cou…
Browse files Browse the repository at this point in the history
…ntry info would be retrieved (#605)
  • Loading branch information
gwynndp authored Nov 23, 2021
1 parent 9bf90dc commit 2d612a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/planterRegistration.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class PlanterRegistrationController {
): Promise<PlanterRegistration[]> {
// console.log('/planter-registration', filter ? filter.where : null);

const sql = `SELECT planter_registrations.*, devices.manufacturer FROM planter_registrations
const sql = `SELECT *, devices.manufacturer FROM planter_registrations
JOIN devices ON devices.android_id=planter_registrations.device_identifier
LEFT JOIN (
SELECT
Expand Down

0 comments on commit 2d612a9

Please sign in to comment.