瀏覽代碼

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

Add `recentV1TemplateIdsActivity` proxy to AnalyticRouter
Shane Kilkelly 8 年之前
父節點
當前提交
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')