mirror of
https://github.com/openziti/zrok.git
synced 2025-08-19 04:06:18 +02:00
improvements to zrok_sdk_edge for identities (#112)
This commit is contained in:
@@ -28,7 +28,7 @@ func (h *createFrontendHandler) Handle(params admin.CreateFrontendParams, princi
|
||||
}
|
||||
|
||||
zId := params.Body.ZID
|
||||
detail, err := zrokEdgeSdk.GetIdentity(zId, client)
|
||||
detail, err := zrokEdgeSdk.GetIdentityByZId(zId, client)
|
||||
if err != nil {
|
||||
logrus.Errorf("error getting identity details for '%v': %v", zId, err)
|
||||
return admin.NewCreateFrontendInternalServerError()
|
||||
|
Reference in New Issue
Block a user