We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46846e9 commit 5fc401eCopy full SHA for 5fc401e
client/client.go
@@ -407,6 +407,26 @@ func (c *Client) BeforeSave(_ *pop.Connection) error {
407
c.AllowedCORSOrigins = sqlxx.StringSliceJSONFormat{}
408
}
409
410
+ if c.Contacts == nil {
411
+ c.Contacts = sqlxx.StringSliceJSONFormat{}
412
+ }
413
+
414
+ if c.PostLogoutRedirectURIs == nil {
415
+ c.PostLogoutRedirectURIs = sqlxx.StringSliceJSONFormat{}
416
417
418
+ if c.RequestURIs == nil {
419
+ c.RequestURIs = sqlxx.StringSliceJSONFormat{}
420
421
422
+ if c.GrantTypes == nil {
423
+ c.GrantTypes = sqlxx.StringSliceJSONFormat{}
424
425
426
+ if c.ResponseTypes == nil {
427
+ c.ResponseTypes = sqlxx.StringSliceJSONFormat{}
428
429
430
if c.CreatedAt.IsZero() {
431
c.CreatedAt = time.Now()
432
0 commit comments