Skip to content
Snippets Groups Projects
Commit d490c0b1 authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix binding documentation

parent 0f343657
No related branches found
No related tags found
1 merge request!510Release
...@@ -296,14 +296,14 @@ type UdLookupCallback interface { ...@@ -296,14 +296,14 @@ type UdLookupCallback interface {
// Parameters: // Parameters:
// - e2eID - e2e object ID in the tracker // - e2eID - e2e object ID in the tracker
// - udContact - the marshalled bytes of the contact.Contact object // - udContact - the marshalled bytes of the contact.Contact object
// - udIdBytes - the marshalled bytes of the id.ID object for the user // - lookupId - the marshalled bytes of the id.ID object for the user
// discovery server // that LookupUD will look up.
// - singleRequestParams - the JSON marshalled bytes of single.RequestParams // - singleRequestParams - the JSON marshalled bytes of single.RequestParams
// //
// Returns: // Returns:
// - []byte - the JSON marshalled bytes of SingleUseSendReport // - []byte - the JSON marshalled bytes of SingleUseSendReport
func LookupUD(e2eID int, udContact []byte, cb UdLookupCallback, func LookupUD(e2eID int, udContact []byte, cb UdLookupCallback,
udIdBytes []byte, singleRequestParamsJSON []byte) ([]byte, error) { lookupId []byte, singleRequestParamsJSON []byte) ([]byte, error) {
// Get user from singleton // Get user from singleton
user, err := e2eTrackerSingleton.get(e2eID) user, err := e2eTrackerSingleton.get(e2eID)
...@@ -316,7 +316,7 @@ func LookupUD(e2eID int, udContact []byte, cb UdLookupCallback, ...@@ -316,7 +316,7 @@ func LookupUD(e2eID int, udContact []byte, cb UdLookupCallback,
return nil, err return nil, err
} }
uid, err := id.Unmarshal(udIdBytes) uid, err := id.Unmarshal(lookupId)
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment