|
|
@@ -82,7 +82,7 @@ func FileNotebookCreate(ctx *context.Context, option api.CreateFileNotebookJobOp |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
ctx.JSON(http.StatusOK, models.BaseErrorMessageApi(ctx.Tr("repo.failed_to_create_repo",setting.FileNoteBook.ProjectName))) |
|
|
|
|
|
|
|
|
ctx.JSON(http.StatusOK, models.BaseErrorMessageApi(ctx.Tr("repo.failed_to_create_notebook_repo",setting.FileNoteBook.ProjectName))) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if option.Type <= 1 { |
|
|
if option.Type <= 1 { |
|
|
|