mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 14:19:01 +02:00
remove excessive logging
GitOrigin-RevId: 62024bbe0415a4fdae66eb1b9c6707e5faec7cd1
This commit is contained in:
committed by
sharelatex
parent
debb82960c
commit
2c335802ca
@@ -11,11 +11,9 @@
|
||||
* Full docs: https://github.com/decaffeinate/decaffeinate/blob/master/docs/suggestions.md
|
||||
*/
|
||||
const InactiveProjectManager = require('./InactiveProjectManager')
|
||||
const logger = require('logger-sharelatex')
|
||||
|
||||
module.exports = {
|
||||
deactivateOldProjects(req, res) {
|
||||
logger.log('recived request to deactivate old projects')
|
||||
const numberOfProjectsToArchive = parseInt(
|
||||
req.body.numberOfProjectsToArchive,
|
||||
10
|
||||
@@ -36,7 +34,6 @@ module.exports = {
|
||||
|
||||
deactivateProject(req, res) {
|
||||
const { project_id } = req.params
|
||||
logger.log({ project_id }, 'recived request to deactivating project')
|
||||
return InactiveProjectManager.deactivateProject(project_id, function(err) {
|
||||
if (err != null) {
|
||||
return res.sendStatus(500)
|
||||
|
||||
Reference in New Issue
Block a user