Skip to content

Commit 4d62592

Browse files
committed
Merge branch 'main' into feat/device_code
2 parents 27e5df6 + 6dbb33b commit 4d62592

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,24 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.3.2] - 2025-01-28
9+
10+
- Fix: payment 0
11+
812
## [2.3.1] - 2024-06-21
13+
914
- Chore: update vuln dependencies
1015

1116
## [2.3.0] - 2024-06-03
17+
1218
- Feature: set next run
1319

1420
## [2.2.0] - 2024-02-23
21+
1522
- Feature: order append lines
1623

1724
## [2.1.1] - 2023-05-12
25+
1826
- FIX: retrieve all orders not is stage DONE
1927

2028
## [2.1.0] - 2023-11-29

src/orders-service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ async function postOrderPayment(
8080
order: IOrder,
8181
paymentType: number,
8282
) {
83-
if (parseFloat(order.editTotal) === 0) {
84-
//logger.debug(' <<<<<<<< TOTAL: ZERO <<<<<<');
85-
return { status: 500, data: { error: 'total === 0' } };
86-
}
8783
const data = {
8884
orderId: order.id,
8985
paymentType: paymentType,

0 commit comments

Comments
 (0)