refactor: remove unnecessary getters

This commit is contained in:
James Houlahan
2020-04-08 13:15:42 +02:00
parent d787d8b223
commit bafd4e714e
4 changed files with 12 additions and 22 deletions

View File

@ -152,8 +152,8 @@ func (c *client) ReportSentryCrash(reportErr error) (err error) {
}
tags := map[string]string{
"OS": runtime.GOOS,
"Client": c.cm.GetConfig().ClientID,
"Version": c.cm.GetConfig().AppVersion,
"Client": c.cm.config.ClientID,
"Version": c.cm.config.AppVersion,
"UserAgent": CurrentUserAgent,
"UserID": c.userID,
}