diff --git a/lib/jsonclient/jsonclient.go b/lib/jsonclient/jsonclient.go index daef6ab..92b241b 100644 --- a/lib/jsonclient/jsonclient.go +++ b/lib/jsonclient/jsonclient.go @@ -71,7 +71,7 @@ func (c *Client) Do(ctx context.Context, method, path string, params url.Values, // DoWithHeaders executes an HTTP request against the configured server with custom headers. func (c *Client) DoWithHeaders(ctx context.Context, method, path string, headers http.Header, params url.Values, src, dst any) error { - if strings.Contains(c.Host, "community") { + if c.Host == "community.mojo.so" { mlog.Info(ctx, merr.New(ctx, "discourse_api_log", merr.M{ "method": method, "path": path,