Skip to content

Commit 2fa1040

Browse files
committed
fixed long overdue socket message parse error
1 parent 3724e66 commit 2fa1040

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/actors/ClientSocketActor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ClientSocketActor(out: ActorRef, publisher: ActorRef) extends Actor with E
2424

2525
override def preStart() {
2626
Logger.debug("pre start called in client" + self)
27-
out ! "successfully registered"
27+
out ! Json.obj("msg" -> "successfully registered").toString()
2828
}
2929

3030
override def postStop() {

client/src/app/dashboard/user-management/user-management.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class UserManagementComponent implements OnInit {
5555
}
5656

5757
/**
58-
* Function for adding a User.
58+
* Function for adding a User.
5959
* @param UserName
6060
* @param Secret
6161
* @param UserType
@@ -85,7 +85,7 @@ export class UserManagementComponent implements OnInit {
8585
}
8686

8787
/**
88-
* Function for deleting a user.
88+
* Function for deleting a user.
8989
* @param userID
9090
*/
9191

0 commit comments

Comments
 (0)