add per-user routes for clearing cache and extend expiry methods
this adds separate functionality for clearing the cache (assets and database) and the project compile directory for a specific user
This commit is contained in:
@@ -45,7 +45,7 @@ module.exports = CompileController =
|
||||
}
|
||||
|
||||
clearCache: (req, res, next = (error) ->) ->
|
||||
ProjectPersistenceManager.clearProject req.params.project_id, (error) ->
|
||||
ProjectPersistenceManager.clearProject req.params.project_id, req.params.user_id, (error) ->
|
||||
return next(error) if error?
|
||||
res.sendStatus(204) # No content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user