Skip to content

Commit

Permalink
change timezone on env
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrixsilaen committed Jan 30, 2022
1 parent 0d7897c commit 9506b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_S3_BUCKET_NAME=
AWS_S3_BASE_URL=

TZ=Asia/Bangkok
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ async function addStockCorrectionItem(
if (itemStock + itemRequest.stockCorrection < 0) {
throw new ApiError(httpStatus.UNPROCESSABLE_ENTITY, 'Stock can not be minus');
}
console.log(itemRequest.expiryDate);
return tenantDatabase.StockCorrectionItem.create(
{
stockCorrectionId: stockCorrection.id,
Expand Down

0 comments on commit 9506b91

Please sign in to comment.