File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/utils/instancemanagement Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ object InstanceRegistry extends InstanceJsonSupport with AppLogging
188188 } else {
189189 val idToPost = configuration.webApiInstance.id.getOrElse(- 1L )
190190
191- val MatchingData = JsObject (" MatchingSuccessful" -> JsBoolean (isWebApiReachable),
191+ val matchingData = JsObject (" MatchingSuccessful" -> JsBoolean (isWebApiReachable),
192192 " SenderId" -> JsNumber (configuration.assignedID.getOrElse(- 1L )))
193193
194194 val request = HttpRequest (
@@ -197,7 +197,7 @@ object InstanceRegistry extends InstanceJsonSupport with AppLogging
197197
198198 Await .result(Http (system).singleRequest(request
199199 .withHeaders(RawHeader (" Authorization" ,s " Bearer ${AuthProvider .generateJwt()}" ))
200- .withEntity(ContentTypes .`application/json`, ByteString (MatchingData .toJson.toString))) map {response =>
200+ .withEntity(ContentTypes .`application/json`, ByteString (matchingData .toJson.toString))) map {response =>
201201
202202 if (response.status == StatusCodes .OK ){
203203 log.info(" Successfully posted matching result to Instance Registry." )
You can’t perform that action at this time.
0 commit comments