Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix messages per minute

Acho Arnolda324956ef813
diff --git a/api/pkg/entities/phone.go b/api/pkg/entities/phone.go
index a7712e88..c7d192a3 100644
--- a/api/pkg/entities/phone.go
+++ b/api/pkg/entities/phone.go
@@ -12,7 +12,7 @@ type Phone struct {
UserID UserID `json:"user_id" example:"WB7DRDWrJZRGbYrv2CKGkqbzvqdC"`
FcmToken *string `json:"fcm_token" example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzd....."`
PhoneNumber string `json:"phone_number" example:"+18005550199"`
- MessagesPerMinute uint `json:"messages_per_second" example:"1"`
+ MessagesPerMinute uint `json:"messages_per_minute" example:"1"`
CreatedAt time.Time `json:"created_at" example:"2022-06-05T14:26:02.302718+03:00"`
UpdatedAt time.Time `json:"updated_at" example:"2022-06-05T14:26:10.303278+03:00"`
}