B: Fix type being wrong

This commit is contained in:
Preston Baxter 2023-11-18 18:15:18 -06:00
parent 3049da7bcd
commit ebd193ab38
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ type Subscription struct {
//attrs
Active bool `jsonapi:"attr,active,omitempty" bson:"active"`
ApplicationId string `jsonapi:"attr,application_id,omitempty" bson:"application_id"`
AuthenticitySecret bool `jsonapi:"attr,authenticity_secret,omitempty" bson:"authenticity_secret"`
AuthenticitySecret string `jsonapi:"attr,authenticity_secret,omitempty" bson:"authenticity_secret"`
CreatedAt time.Time `jsonapi:"attr,created_at,omitempty" bson:"created_at"`
UpdatedAt time.Time `jsonapi:"attr,updated_at,omitempty" bson:"updated_at"`
Name string `jsonapi:"attr,name,omitempty" bson:"name"`
@ -19,7 +19,7 @@ type WebhookSubscription struct {
//attrs
Active bool `jsonapi:"attr,active,omitempty" bson:"active"`
ApplicationId string `jsonapi:"attr,application_id,omitempty" bson:"application_id"`
AuthenticitySecret bool `jsonapi:"attr,authenticity_secret,omitempty" bson:"authenticity_secret"`
AuthenticitySecret string `jsonapi:"attr,authenticity_secret,omitempty" bson:"authenticity_secret"`
CreatedAt time.Time `jsonapi:"attr,created_at,omitempty" bson:"created_at"`
UpdatedAt time.Time `jsonapi:"attr,updated_at,omitempty" bson:"updated_at"`
Name string `jsonapi:"attr,name,omitempty" bson:"name"`