Просмотр исходного кода

Merge pull request #431 from sharelatex/ta-add-publisher-hub-analytics-proxy

Add `recentV1TemplateIdsActivity` proxy to AnalyticRouter
Shane Kilkelly 8 лет назад
Родитель
Сommit
efe926d6cd
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      services/web/app/coffee/Features/Analytics/AnalyticsRouter.coffee

+ 5 - 1
services/web/app/coffee/Features/Analytics/AnalyticsRouter.coffee

@@ -17,6 +17,10 @@ module.exports =
 			AuthenticationController.httpAuth,
 			AnalyticsProxy.call('/recentTeamActivity')
 
+		publicApiRouter.use '/analytics/recentV1TemplateIdsActivity',
+			AuthenticationController.httpAuth,
+			AnalyticsProxy.call('/recentV1TemplateIdsActivity')
+
 		publicApiRouter.use '/analytics/uniExternalCollaboration',
 			AuthenticationController.httpAuth,
-			AnalyticsProxy.call('/uniExternalCollaboration')
+			AnalyticsProxy.call('/uniExternalCollaboration')