Skip to content

Commit

Permalink
Update mall.controller.ts
Browse files Browse the repository at this point in the history
Added an await to call
  • Loading branch information
SalleeMatthew authored and smile0711 committed Jul 25, 2024
1 parent b5d85a9 commit e6c9cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/controllers/mall.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class MallController {
return;
}

this.objectService.updateObjectPlace(
await this.objectService.updateObjectPlace(
parseInt(request.body.objectId),parseInt(request.body.shopId));
response.status(200).json({ status: 'success' });
} catch (error) {
Expand Down

0 comments on commit e6c9cf9

Please sign in to comment.