diff --git a/src/time_series_storage/postgres.clj b/src/time_series_storage/postgres.clj index 0db7963..99aa978 100644 --- a/src/time_series_storage/postgres.clj +++ b/src/time_series_storage/postgres.clj @@ -62,15 +62,15 @@ (throw (Exception. (format "Fact %s is not defined" id)))) ) - (inc! [service id categories] + (inc! [service fact-id categories] (api/inc! service - id + fact-id (java.util.Date.) categories)) - (inc! [service id timestamp categories] + (inc! [service fact-id timestamp categories] (u/new-fact config - id + fact-id (tcoerce/from-date timestamp) 1 categories))