mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 07:00:47 +02:00
Merge pull request #10677 from overleaf/em-history-id-string
Represent history ids as strings instead of integers GitOrigin-RevId: 18977195b65492836e570c571ec7e8c7e088612b
This commit is contained in:
@@ -153,9 +153,11 @@ async function _createBlankProject(
|
||||
await ProjectDetailsHandler.promises.validateProjectName(projectName)
|
||||
|
||||
if (!attributes.overleaf) {
|
||||
const history = await HistoryManager.promises.initializeProject()
|
||||
attributes.overleaf = {
|
||||
history: { id: history ? history.overleaf_id : undefined },
|
||||
const historyId = await HistoryManager.promises.initializeProject()
|
||||
if (historyId != null) {
|
||||
attributes.overleaf = {
|
||||
history: { id: historyId },
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user