Skip to content

Commit

Permalink
home: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Mar 16, 2023
1 parent 84d8817 commit 7cd9a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/home/clientshttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func jsonToClient(cj clientJSON) (c *Client) {
safeSearchConf = *cj.SafeSearchConf
} else {
// TODO(d.kolyshev): Remove after cleaning the deprecated
// `SafeSearchEnabled` field in [clientJSON].
// [clientJSON.SafeSearchEnabled] field.
safeSearchConf = filtering.SafeSearchConfig{Enabled: cj.SafeSearchEnabled}

// Set default service flags for enabled safesearch.
Expand Down Expand Up @@ -129,7 +129,7 @@ func jsonToClient(cj clientJSON) (c *Client) {
// clientToJSON converts Client object to JSON.
func clientToJSON(c *Client) (cj *clientJSON) {
// TODO(d.kolyshev): Remove after cleaning the deprecated
// `SafeSearchEnabled` field in [clientJSON].
// [clientJSON.SafeSearchEnabled] field.
cloneVal := c.safeSearchConf
safeSearchConf := &cloneVal

Expand Down

0 comments on commit 7cd9a37

Please sign in to comment.