diff --git a/casdoorsdk/application_global.go b/casdoorsdk/application_global.go index 58bd7fa..52e91df 100644 --- a/casdoorsdk/application_global.go +++ b/casdoorsdk/application_global.go @@ -34,6 +34,6 @@ func DeleteApplication(application *Application) (bool, error) { return globalClient.DeleteApplication(application) } -func UpdateApplication(application *Application) (bool, error) { - return globalClient.UpdateApplication(application) +func UpdateApplication(application *Application, args ...[]string) (bool, error) { + return globalClient.UpdateApplication(application, args...) }