TP-5555 | optimise symbolicator
This commit is contained in:
@@ -29,6 +29,7 @@ type ProjectBody struct {
|
||||
Team string `json:"team" binding:"required"`
|
||||
Icon string `json:"icon"`
|
||||
GithubUrl string `json:"githubUrl" binding:"required"`
|
||||
Account string `json:"account" binding:"required"`
|
||||
}
|
||||
|
||||
type UpdateProjectBody struct {
|
||||
@@ -76,6 +77,7 @@ func (pc *ProjectCreator) CreateProject(ctx *gin.Context) {
|
||||
Icon: projectBody.Icon,
|
||||
GithubUrl: projectBody.GithubUrl,
|
||||
Secret: hex.EncodeToString(secret),
|
||||
Account: projectBody.Account,
|
||||
})
|
||||
|
||||
if result.Error != nil {
|
||||
|
||||
Reference in New Issue
Block a user