Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit da1351b

Browse files
committed
fix: time can be nil
1 parent ef4ce66 commit da1351b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

banking/payment.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ type DocumentMedia struct {
1919
type IdentificationDocument struct {
2020
Type string
2121
Number string
22-
ValidUntil time.Time
22+
ValidFrom *time.Time
23+
ValidUntil *time.Time
2324
Media *DocumentMedia
2425
}
2526

0 commit comments

Comments
 (0)