We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b552ebd commit 3dcb219Copy full SHA for 3dcb219
backend/controllers/github.go
@@ -1085,7 +1085,8 @@ func (d DiggerController) GithubAppCallbackPage(c *gin.Context) {
1085
if link == nil {
1086
log.Printf("Failed to find GithubAppInstallationLink create a link and an org %v", installationId)
1087
name := fmt.Sprintf("dggr-def-%v", uuid.NewString()[:8])
1088
- org, err := models.DB.CreateOrganisation(name, "digger", "digger")
+ externalId := uuid.NewString()
1089
+ org, err := models.DB.CreateOrganisation(name, "digger", externalId)
1090
if err != nil {
1091
log.Printf("Error with CreateOrganisation: %v", err)
1092
c.JSON(http.StatusInternalServerError, gin.H{"error": "Error with CreateOrganisation"})
0 commit comments