Skip to content

Commit

Permalink
Analytics musn't be reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackIQ committed Apr 22, 2023
1 parent 557a6c7 commit cfc8b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/user/user.controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const MY_ANALYTICS = async (req, res) => {

try {
const data = await Log.find({ company: id })
.sort({ createdAt: -1 })
.sort({ createdAt: 1 })
.populate({
path: "service",
model: Service,
Expand Down

0 comments on commit cfc8b47

Please sign in to comment.