diff --git a/pkg/importer/plaid/plaid.go b/pkg/importer/plaid/plaid.go index 95f962b0c..0dfbafaa4 100644 --- a/pkg/importer/plaid/plaid.go +++ b/pkg/importer/plaid/plaid.go @@ -104,13 +104,13 @@ var tmpl = template.Must(template.New("root").Parse(` var _ importer.ImporterSetupHTMLer = (*imp)(nil) func (im *imp) AccountSetupHTML(host *importer.Host) string { - return fmt.Sprintf(` + return `

Configuring Plaid

Signup for a developer account on Plaid dashboard

After following signup steps and verifying your email, get your developer credentials (under "Send your first request"), and copy your client ID and secret above.

-`) +` } func (im *imp) ServeCallback(w http.ResponseWriter, r *http.Request, ctx *importer.SetupContext) { diff --git a/pkg/server/app/app.go b/pkg/server/app/app.go index ad2907512..e989daeaa 100644 --- a/pkg/server/app/app.go +++ b/pkg/server/app/app.go @@ -167,7 +167,7 @@ func (a *Handler) refreshDomainBlobs() error { if a.masterQuery == nil { return errors.New("no master query") } - var sq search.SearchQuery = *(a.masterQuery) + sq := *(a.masterQuery) sq.Describe = sq.Describe.Clone() sr, err := a.sh.Query(context.TODO(), &sq) if err != nil {