Address review comments

This commit is contained in:
Aram Akhavan
2023-12-08 11:18:13 -08:00
parent 98d958888c
commit 01c5a7fdfe
4 changed files with 39 additions and 27 deletions
@@ -70,6 +70,7 @@ func UploadDeviceMetrics(c *gin.Context) {
//check for error
if notify.ShouldNotify(
logger,
updatedDevice,
smartData,
pkg.MetricsStatusThreshold(appConfig.GetInt(fmt.Sprintf("%s.metrics.status_threshold", config.DB_USER_SETTINGS_SUBKEY))),