Skip to content

Commit

Permalink
return encryptedRootCID instead of link
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Aug 4, 2023
1 parent 1d6e22b commit 3bb9dfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,9 @@ func (c *Client) StoreEncryptedWithIdentity(identity string, appID string, encry
}

// Convert byte slice to base64 string
identityLinkStr := base64.StdEncoding.EncodeToString(identityLink)
_ = base64.StdEncoding.EncodeToString(identityLink)

return identityLinkStr, nil
return encryptedRootCID, nil
}

func (c *Client) GetEncryptedRootCID(identity string, appID string) ([]byte, error) {
Expand Down

0 comments on commit 3bb9dfe

Please sign in to comment.