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

fix typo

GitOrigin-RevId: e0d95acb0c871558ed50b7456ca5783c893639fb
Ersun Warncke 6 лет назад
Родитель
Сommit
73d9d87b4d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      services/web/app/src/Features/ThirdPartyDataStore/TpdsController.js

+ 2 - 2
services/web/app/src/Features/ThirdPartyDataStore/TpdsController.js

@@ -20,7 +20,7 @@ const Path = require('path')
 const metrics = require('metrics-sharelatex')
 const metrics = require('metrics-sharelatex')
 const NotificationsBuilder = require('../Notifications/NotificationsBuilder')
 const NotificationsBuilder = require('../Notifications/NotificationsBuilder')
 const AuthenticationController = require('../Authentication/AuthenticationController')
 const AuthenticationController = require('../Authentication/AuthenticationController')
-const TdpsQueueManager = require('./TpdsQueueManager').promises
+const TpdsQueueManager = require('./TpdsQueueManager').promises
 
 
 module.exports = {
 module.exports = {
   // mergeUpdate and deleteUpdate are used by Dropbox, where the project is only passed as the name, as the
   // mergeUpdate and deleteUpdate are used by Dropbox, where the project is only passed as the name, as the
@@ -136,7 +136,7 @@ module.exports = {
   async getQueues(req, res, next) {
   async getQueues(req, res, next) {
     const userId = AuthenticationController.getLoggedInUserId(req)
     const userId = AuthenticationController.getLoggedInUserId(req)
     try {
     try {
-      res.json(await TdpsQueueManager.getQueues(userId))
+      res.json(await TpdsQueueManager.getQueues(userId))
     } catch (err) {
     } catch (err) {
       next(err)
       next(err)
     }
     }