Skip to content

Commit

Permalink
Merge pull request #5956 from NMDSdevopsServiceAdm/fix/removeUnusedIm…
Browse files Browse the repository at this point in the history
…port

remove unwanted import
  • Loading branch information
Zuhal-Ayob authored Aug 23, 2023
2 parents 4ffe6f0 + a10d9f1 commit 7089fd6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/models/worker.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const dayjs = require('dayjs');
const { logging } = require('protractor');
const { Op } = require('sequelize');

module.exports = function (sequelize, DataTypes) {
Expand Down Expand Up @@ -1230,7 +1229,6 @@ module.exports = function (sequelize, DataTypes) {
// };

Worker.averageHourlyPay = async function (establishmentId) {

return this.findOne({
attributes: [[sequelize.fn('avg', sequelize.col('AnnualHourlyPayRate')), 'amount']],
where: {
Expand Down

0 comments on commit 7089fd6

Please sign in to comment.