Skip to content

Commit 8349a82

Browse files
committed
fixed old auth header bug
1 parent 36e0522 commit 8349a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/InstanceRegistryController.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class InstanceRegistryController @Inject()(implicit system: ActorSystem, mat: Ma
150150

151151
ws.url(instanceRegistryUri + "/instances/" + from + "/assignInstance"
152152
)
153-
.withHttpHeaders(authheader)
153+
.withHttpHeaders(("Authorization", s"Bearer ${AuthProvider.generateJwt()}"))
154154
.post(Json.obj("AssignedInstanceId" -> to))
155155
.map { response =>
156156
response.status match {

0 commit comments

Comments
 (0)