Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
Fixing docs
Acho Arnold911bf0358ab5
diff --git a/api/pkg/entities/message.go b/api/pkg/entities/message.goindex 87bd5682..bf846c0b 100644--- a/api/pkg/entities/message.go+++ b/api/pkg/entities/message.go@@ -112,7 +112,7 @@ type Message struct {DeliveredAt *time.Time `json:"delivered_at" example:"2022-06-05T14:26:09.527976+03:00" validate:"optional"`ExpiredAt *time.Time `json:"expired_at" example:"2022-06-05T14:26:09.527976+03:00" validate:"optional"`FailedAt *time.Time `json:"failed_at" example:"2022-06-05T14:26:09.527976+03:00" validate:"optional"`- CanBePolled bool `json:"can_be_polled" example:"false" swaggerignore:"true"`+ CanBePolled bool `json:"-" example:"false" swaggerignore:"true"`SendAttemptCount uint `json:"send_attempt_count" example:"0"`MaxSendAttempts uint `json:"max_send_attempts" example:"1"`ReceivedAt *time.Time `json:"received_at" example:"2022-06-05T14:26:09.527976+03:00" validate:"optional"`diff --git a/api/pkg/entities/user.go b/api/pkg/entities/user.goindex fd8de1a5..a6a92371 100644--- a/api/pkg/entities/user.go+++ b/api/pkg/entities/user.go@@ -78,7 +78,7 @@ type User struct {Timezone string `json:"timezone" example:"Europe/Helsinki" gorm:"default:Africa/Accra"`ActivePhoneID *uuid.UUID `json:"active_phone_id" gorm:"type:uuid;" example:"32343a19-da5e-4b1b-a767-3298a73703cb" validate:"optional"`SubscriptionName SubscriptionName `json:"subscription_name" example:"free"`- SubscriptionID *string `json:"subscription_id" example:"8f9c71b8-b84e-4417-8408-a62274f65a08" swaggerignore:"true"`+ SubscriptionID *string `json:"-" example:"8f9c71b8-b84e-4417-8408-a62274f65a08" swaggerignore:"true"`SubscriptionStatus *string `json:"subscription_status" example:"on_trial" validate:"optional"`SubscriptionRenewsAt *time.Time `json:"subscription_renews_at" example:"2022-06-05T14:26:02.302718+03:00" validate:"optional"`SubscriptionEndsAt *time.Time `json:"subscription_ends_at" example:"2022-06-05T14:26:02.302718+03:00" validate:"optional"`