mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 05:16:02 +00:00
allow overleaf.history.id to be blank
This commit is contained in:
parent
19bc145ff4
commit
4ca73f6b53
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ module.exports = ProjectCreationHandler =
|
|||
else
|
||||
HistoryController.initializeProject (error, history) ->
|
||||
return callback(error) if error?
|
||||
ProjectCreationHandler._createBlankProject owner_id, projectName, history.overleaf_id, callback
|
||||
ProjectCreationHandler._createBlankProject owner_id, projectName, history?.overleaf_id, callback
|
||||
|
||||
_createBlankProject : (owner_id, projectName, projectHistoryId, callback = (error, project) ->)->
|
||||
rootFolder = new Folder {'name':'rootFolder'}
|
||||
|
|
Loading…
Add table
Reference in a new issue