Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
CappeDiem committed Feb 13, 2024
1 parent d41b193 commit b344227
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions print.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ function print(users) {
})
})
}
function printDept(users) {
print(users)
return;
async function printDept(users) {
return new Promise((resolve, reject) => {
print(users)
resolve()
})
}

module.exports = {
Expand Down

0 comments on commit b344227

Please sign in to comment.