Fixed MatterQuantity typing issue.
This commit is contained in:
parent
274f96df3e
commit
59c8720312
|
|
@ -20,7 +20,7 @@ COPY --from=builder /app/.env.example ./.env.example
|
|||
# COPY --from=builder /app/certs ./certs
|
||||
|
||||
# Expose the default port (can be overridden by env or flag)
|
||||
EXPOSE 1404
|
||||
EXPOSE 144
|
||||
|
||||
# Entrypoint
|
||||
ENTRYPOINT ["/app/iralex-einvoice"]
|
||||
ENTRYPOINT ["/app/iralex-einvoice"]
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ type IralexBillDataRow struct {
|
|||
MatterRowNumber string `json:"matterRowNumber"`
|
||||
MatterTitle string `json:"matterTitle"`
|
||||
MatterHours float64 `json:"matterHours"`
|
||||
MatterQuantity *float64 `json:"matterQuantity"`
|
||||
MatterQuantity *interface{} `json:"matterQuantity"` // could be either `float` or `string`
|
||||
MatterTotal float64 `json:"matterTotal"`
|
||||
TimeEntries []IralexTimeEntry `json:"time_entries"`
|
||||
ExpenseEntries []interface{} `json:"expense_entries"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue