File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ type Source struct {
60
60
61
61
// FromDB fills up a LDAPConfig from serialized format.
62
62
func (source * Source ) FromDB (bs []byte ) error {
63
- err := models .JSONUnmarshalHandleDoubleEncode (bs , source )
63
+ err := models .JSONUnmarshalHandleDoubleEncode (bs , & source )
64
64
if err != nil {
65
65
return err
66
66
}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ type Source struct {
32
32
33
33
// FromDB fills up an OAuth2Config from serialized format.
34
34
func (source * Source ) FromDB (bs []byte ) error {
35
- return models .JSONUnmarshalHandleDoubleEncode (bs , source )
35
+ return models .JSONUnmarshalHandleDoubleEncode (bs , & source )
36
36
}
37
37
38
38
// ToDB exports an SMTPConfig to a serialized format.
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ type Source struct {
32
32
33
33
// FromDB fills up an SMTPConfig from serialized format.
34
34
func (source * Source ) FromDB (bs []byte ) error {
35
- return models .JSONUnmarshalHandleDoubleEncode (bs , source )
35
+ return models .JSONUnmarshalHandleDoubleEncode (bs , & source )
36
36
}
37
37
38
38
// ToDB exports an SMTPConfig to a serialized format.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ type Source struct {
27
27
28
28
// FromDB fills up an SSPIConfig from serialized format.
29
29
func (cfg * Source ) FromDB (bs []byte ) error {
30
- return models .JSONUnmarshalHandleDoubleEncode (bs , cfg )
30
+ return models .JSONUnmarshalHandleDoubleEncode (bs , & cfg )
31
31
}
32
32
33
33
// ToDB exports an SSPIConfig to a serialized format.
You can’t perform that action at this time.
0 commit comments