This commit is contained in:
@@ -98,7 +98,7 @@ class InputServiceServer {
|
||||
if (description == null || soundFile == null)
|
||||
call.respond(HttpStatusCode.ExpectationFailed)
|
||||
|
||||
val tag = UUID.randomUUID().toString()
|
||||
val tag = UUID.randomUUID()
|
||||
|
||||
val currentApiObject = ApiObject(tag = tag, date = LocalDate.now(), device_id = description!!.device_id)
|
||||
|
||||
@@ -108,7 +108,7 @@ class InputServiceServer {
|
||||
|
||||
connection.confirmChannel {
|
||||
publish {
|
||||
publishWithConfirm(OutboundMessage(rabbitExchangeName, "", MessageProperties.PERSISTENT_BASIC, tag))
|
||||
publishWithConfirm(OutboundMessage(rabbitExchangeName, "", MessageProperties.PERSISTENT_BASIC, tag.toString()))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user