Skip to content

Commit

Permalink
edit query
Browse files Browse the repository at this point in the history
Relates #88
  • Loading branch information
Alaalser committed Feb 11, 2021
1 parent 0960190 commit eedeb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/database/queries/locations/getLocations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const connection = require('../../../data/connection');

const getLocatoinsQuery = () => {
const sql = {
text: 'SELECT id,location_sub,location_main FROM locations',
text: 'SELECT * FROM locations',
};
return connection.query(sql);
};
Expand Down

0 comments on commit eedeb48

Please sign in to comment.