File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ type PhoneAPIKey struct {
1313 Name string `json:"name" example:"Business Phone Key"`
1414 UserID UserID `json:"user_id" example:"WB7DRDWrJZRGbYrv2CKGkqbzvqdC"`
1515 UserEmail string `json:"user_email" example:"user@gmail.com"`
16- PhoneNumbers pq.StringArray `json:"phone_numbers" example:"[ +18005550199,+18005550100] " gorm:"type:text[]" swaggertype:"array,string"`
17- PhoneIDs pq.StringArray `json:"phone_ids" example:"[ 32343a19-da5e-4b1b-a767-3298a73703cb,32343a19-da5e-4b1b-a767-3298a73703cc] " gorm:"type:text[]" swaggertype:"array,string"`
16+ PhoneNumbers pq.StringArray `json:"phone_numbers" example:"+18005550199,+18005550100" gorm:"type:text[]" swaggertype:"array,string"`
17+ PhoneIDs pq.StringArray `json:"phone_ids" example:"32343a19-da5e-4b1b-a767-3298a73703cb,32343a19-da5e-4b1b-a767-3298a73703cc" gorm:"type:text[]" swaggertype:"array,string"`
1818 APIKey string `json:"api_key" gorm:"uniqueIndex:idx_phone_api_key__api_key;NOT NULL" example:"pk_DGW8NwQp7mxKaSZ72Xq9v6xxxxx"`
1919 CreatedAt time.Time `json:"created_at" example:"2022-06-05T14:26:02.302718+03:00"`
2020 UpdatedAt time.Time `json:"updated_at" example:"2022-06-05T14:26:02.302718+03:00"`
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ type Webhook struct {
1313 UserID UserID `json:"user_id" example:"WB7DRDWrJZRGbYrv2CKGkqbzvqdC"`
1414 URL string `json:"url" example:"https://example.com"`
1515 SigningKey string `json:"signing_key" example:"DGW8NwQp7mxKaSZ72Xq9v67SLqSbWQvckzzmK8D6rvd7NywSEkdMJtuxKyEkYnCY"`
16- PhoneNumbers pq.StringArray `json:"phone_numbers" example:"[ +18005550199,+18005550100] " gorm:"type:text[]" swaggertype:"array,string"`
17- Events pq.StringArray `json:"events" example:"[ message.phone.received] " gorm:"type:text[]" swaggertype:"array,string"`
16+ PhoneNumbers pq.StringArray `json:"phone_numbers" example:"+18005550199,+18005550100" gorm:"type:text[]" swaggertype:"array,string"`
17+ Events pq.StringArray `json:"events" example:"message.phone.received" gorm:"type:text[]" swaggertype:"array,string"`
1818 CreatedAt time.Time `json:"created_at" example:"2022-06-05T14:26:02.302718+03:00"`
1919 UpdatedAt time.Time `json:"updated_at" example:"2022-06-05T14:26:10.303278+03:00"`
2020}
You can’t perform that action at this time.
0 commit comments