From 1aa20d868e502f01f92c8f1e4298e67a1b8c7878 Mon Sep 17 00:00:00 2001
From: Yordan Kinkov <yordan.kinkov@vereign.com>
Date: Mon, 29 Aug 2022 11:51:33 +0300
Subject: [PATCH] Change response parsing for GetLoginProofResult

---
 ocm/types.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ocm/types.go b/ocm/types.go
index 44239da..4cda322 100644
--- a/ocm/types.go
+++ b/ocm/types.go
@@ -19,7 +19,7 @@ type LoginProofResultResponse struct {
 
 type LoginProofResultResponseData struct {
 	State string       `json:"state"`
-	Data  []Credential `json:"data"`
+	Data  []Credential `json:"presentations"`
 }
 
 type Credential struct {
-- 
GitLab