lib/git/semaphore/api_cache.rb in git-semaphore-2.3.1 vs lib/git/semaphore/api_cache.rb in git-semaphore-2.4.1
- old
+ new
@@ -15,10 +15,10 @@
end
end
def self.status(project_hash_id, branch_id, refresh, auth_token)
@status ||= Git::Semaphore.from_json_cache(status_cache(project_hash_id, branch_id), refresh) do
- API.status project_hash_id, branch_id, auth_token
+ API::Enrich.status project_hash_id, branch_id, auth_token
end
end
def self.history(project_hash_id, branch_id, refresh, auth_token)
@history ||= Git::Semaphore.from_json_cache(history_cache(project_hash_id, branch_id), refresh) do