Skip to content

Commit

Permalink
item score update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahamin1 committed Jun 18, 2024
1 parent aaad74e commit e6065d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dorder/main.mo
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ shared ({ caller = manager }) actor class Dorder() = this {
star = star;
cratedAt = Time.now();
};
let filteredPoint = User.replaceUserPointByPrincipal(employeeMap, employeeId, newPoint);
switch (filteredPoint) {

switch (User.replaceUserPointByPrincipal(employeeMap, employeeId, newPoint)) {
case (false) {
return #err("" # Principal.toText(caller) # " have not any Review in this employee ID !");
};
Expand Down

0 comments on commit e6065d9

Please sign in to comment.