feat: improve InitFromFile() code order to fix GetOrganizationApplicationCount always returns 0 bug (#3720)

This commit is contained in:
Jefferson Rodrigues 2025-04-10 10:43:54 -07:00 committed by GitHub
parent 493ceddcd9
commit b7fafcc62b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,12 +70,12 @@ func InitFromFile() {
for _, provider := range initData.Providers {
initDefinedProvider(provider)
}
for _, user := range initData.Users {
initDefinedUser(user)
}
for _, application := range initData.Applications {
initDefinedApplication(application)
}
for _, user := range initData.Users {
initDefinedUser(user)
}
for _, cert := range initData.Certs {
initDefinedCert(cert)
}