We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da3861 commit ce904a1Copy full SHA for ce904a1
pkg/config/api.go
@@ -44,10 +44,7 @@ func (a *api) ToUpdatePostgrestConfigBody() v1API.UpdatePostgrestConfigBody {
44
}
45
46
// Convert ExtraSearchPath to a comma-separated string
47
- if len(a.ExtraSearchPath) > 0 {
48
- extraSearchPath := strings.Join(a.ExtraSearchPath, ",")
49
- body.DbExtraSearchPath = &extraSearchPath
50
- }
+ body.DbExtraSearchPath = cast.Ptr(strings.Join(a.ExtraSearchPath, ","))
51
52
// Convert MaxRows to int pointer
53
if a.MaxRows > 0 {
0 commit comments