Skip to content
Snippets Groups Projects
Commit c99a6795 authored by Jake Taylor's avatar Jake Taylor
Browse files

fix single-use json documentation

parent 8737a80c
No related branches found
No related tags found
1 merge request!510Release
......@@ -36,7 +36,7 @@ func TestSingleUseJsonMarshals(t *testing.T) {
sendReport := SingleUseSendReport{
RoundsList: rl,
EphID: ephId.EphId.Int64(),
ReceptionID: ephId.Source.Marshal(),
ReceptionID: ephId.Source,
}
srm, err := json.Marshal(sendReport)
if err != nil {
......@@ -48,7 +48,7 @@ func TestSingleUseJsonMarshals(t *testing.T) {
responseReport := SingleUseResponseReport{
RoundsList: rl,
Payload: payload,
ReceptionID: ephId.Source.Marshal(),
ReceptionID: ephId.Source,
EphID: ephId.EphId.Int64(),
Err: nil,
}
......@@ -64,7 +64,7 @@ func TestSingleUseJsonMarshals(t *testing.T) {
Payload: payload,
Partner: rid,
EphID: ephId.EphId.Int64(),
ReceptionID: ephId.Source.Marshal(),
ReceptionID: ephId.Source,
}
crm, err := json.Marshal(callbackReport)
if err != nil {
......
......@@ -352,7 +352,7 @@ func LookupUD(e2eID int, udContact []byte, cb UdLookupCallback,
sr := SingleUseSendReport{
EphID: eid.EphId.Int64(),
ReceptionID: eid.Source.Marshal(),
ReceptionID: eid.Source,
RoundsList: makeRoundsList(rids...),
}
......@@ -434,7 +434,7 @@ func SearchUD(e2eID int, udContact []byte, cb UdSearchCallback,
sr := SingleUseSendReport{
EphID: eid.EphId.Int64(),
ReceptionID: eid.Source.Marshal(),
ReceptionID: eid.Source,
RoundsList: makeRoundsList(rids...),
}
......
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