feat: fix bug in initDefinedOrganization()

This commit is contained in:
Yang Luo
2024-05-06 13:51:45 +08:00
parent 26345bb21b
commit 2187310dbc
4 changed files with 20 additions and 14 deletions

View File

@ -266,7 +266,7 @@ func initDefinedOrganization(organization *Organization) {
}
if existed != nil {
affected, err := DeleteOrganization(organization)
affected, err := deleteOrganization(organization)
if err != nil {
panic(err)
}
@ -290,7 +290,7 @@ func initDefinedApplication(application *Application) {
}
if existed != nil {
affected, err := DeleteApplication(application)
affected, err := deleteApplication(application)
if err != nil {
panic(err)
}