improvements to zrok_sdk_edge for identities (#112)

This commit is contained in:
Michael Quigley
2022-12-14 14:57:55 -05:00
parent c9c4ca6c49
commit 0fe55e8213
3 changed files with 12 additions and 15 deletions

View File

@@ -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()