aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/profile.go
diff options
context:
space:
mode:
authorBehouba Manassé <behouba@gmail.com>2020-02-11 14:18:12 +0300
committerGitHub <noreply@github.com>2020-02-11 11:18:12 +0000
commit9937c05beae7d76e351eae35ad6f441b1c177303 (patch)
treec8558c2cc386352bcd6bacd810465a18f0e42599 /clientapi/routing/profile.go
parentb72d7eb0cfdb6cead864c6e7cc0ccec77efa5805 (diff)
Pass cfg by reference around the codebase (#819)
* Pass cfg by reference around the codebase * Merge branch 'master' into pass-cfg-by-ref Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'clientapi/routing/profile.go')
-rw-r--r--clientapi/routing/profile.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/profile.go b/clientapi/routing/profile.go
index a87c6f74..4688b19e 100644
--- a/clientapi/routing/profile.go
+++ b/clientapi/routing/profile.go
@@ -343,7 +343,7 @@ func buildMembershipEvents(
return nil, err
}
- event, err := common.BuildEvent(ctx, &builder, *cfg, evTime, queryAPI, nil)
+ event, err := common.BuildEvent(ctx, &builder, cfg, evTime, queryAPI, nil)
if err != nil {
return nil, err
}