mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-08 12:11:03 +08:00
Fix getCasvisorApplication()
This commit is contained in:
@@ -27,7 +27,7 @@ func getCasvisorApplication() *Application {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, application := range applications {
|
for _, application := range applications {
|
||||||
if strings.Contains(strings.ToLower(application.Name), "casvisor") {
|
if strings.Contains(strings.ToLower(application.Name), "casvisor-my") {
|
||||||
return application
|
return application
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user