From d6106dacde98f89a8b4c9ac0db2f8f9056bb0b27 Mon Sep 17 00:00:00 2001 From: mr Date: Thu, 23 Apr 2026 11:36:39 +0200 Subject: [PATCH] FromNano --- models/booking/booking.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/booking/booking.go b/models/booking/booking.go index 758316d..92b8035 100644 --- a/models/booking/booking.go +++ b/models/booking/booking.go @@ -15,7 +15,7 @@ import ( type Booking struct { utils.AbstractObject // AbstractObject contains the basic fields of an object (id, name) - FromNano bool `json:"from_nano,omitempty" bson:"priced_item,omitempty"` + FromNano string `json:"from_nano,omitempty" bson:"priced_item,omitempty"` PricedItem map[string]interface{} `json:"priced_item,omitempty" bson:"priced_item,omitempty"` // We need to add the validate:"required" tag once the pricing feature is implemented, removed to avoid handling the error ResumeMetrics map[string]map[string]models.MetricResume `json:"resume_metrics,omitempty" bson:"resume_metrics,omitempty"`