1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-09 09:35:00 +09:00

fix amplitude metrics init

This commit is contained in:
Roman Khafizianov 2021-06-08 11:44:31 +03:00
parent 4e941a43f0
commit 9ac73b68e3
No known key found for this signature in database
GPG key ID: F07A7D55A2684852
3 changed files with 6 additions and 4 deletions

View file

@ -73,8 +73,7 @@ func main() {
http.ListenAndServe(debug, nil)
}()
}
metrics.SharedClient.InitWithKey("406eb9bda5a4f8b94d1ca05936acab59")
metrics.SharedClient.InitWithKey(metrics.DefaultAmplitudeKey)
var stopChan = make(chan os.Signal, 2)
signal.Notify(stopChan, os.Interrupt, syscall.SIGTERM, syscall.SIGINT)