Loading examples/demo3/src/backend/server/demo3_service.go +3 −1 Original line number Diff line number Diff line Loading @@ -1025,10 +1025,12 @@ func amsAddDevice(amsId string, registerationBody ams.RegistrationInfo, device s associateId.Type_ = &t_ associateId.Value = device var appMobilityServiceLevel ams.AppMobilityServiceLevel = "WITHOUT_CONFIRMATION" var appMobilityServiceLevel ams.AppMobilityServiceLevel = ams.WITHOUT_CONFIRMATION var contextTransferState ams.ContextTransferState = ams.NOT_TRANSFERRED registerationBody.DeviceInformation = append(registerationBody.DeviceInformation, ams.RegistrationInfoDeviceInformation{ AssociateId: &associateId, AppMobilityServiceLevel: &appMobilityServiceLevel, ContextTransferState: &contextTransferState, }) registerationInfo, _, err := amsClient.AmsiApi.AppMobilityServiceByIdPUT(context.TODO(), registerationBody, amsId) Loading Loading
examples/demo3/src/backend/server/demo3_service.go +3 −1 Original line number Diff line number Diff line Loading @@ -1025,10 +1025,12 @@ func amsAddDevice(amsId string, registerationBody ams.RegistrationInfo, device s associateId.Type_ = &t_ associateId.Value = device var appMobilityServiceLevel ams.AppMobilityServiceLevel = "WITHOUT_CONFIRMATION" var appMobilityServiceLevel ams.AppMobilityServiceLevel = ams.WITHOUT_CONFIRMATION var contextTransferState ams.ContextTransferState = ams.NOT_TRANSFERRED registerationBody.DeviceInformation = append(registerationBody.DeviceInformation, ams.RegistrationInfoDeviceInformation{ AssociateId: &associateId, AppMobilityServiceLevel: &appMobilityServiceLevel, ContextTransferState: &contextTransferState, }) registerationInfo, _, err := amsClient.AmsiApi.AppMobilityServiceByIdPUT(context.TODO(), registerationBody, amsId) Loading