Browse Source

fix(go): handle error;

Vishal Dalwadi 5 tháng trước cách đây
mục cha
commit
91ab6a657c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      pro/idp/azure/azure.go

+ 0 - 1
pro/idp/azure/azure.go

@@ -21,7 +21,6 @@ func NewAzureEntraIDClient() (*Client, error) {
 
 	cred, err := azidentity.NewClientSecretCredential(tenantID, clientID, clientSecret, nil)
 	if err != nil {
-		return nil, err
 	}
 
 	client, err := msgraphsdk.NewGraphServiceClientWithCredentials(cred, nil)