Skip to content

Commit

Permalink
fix(manage-agent-socket-handler): type
Browse files Browse the repository at this point in the history
fix tsc check by updating var type
  • Loading branch information
lohrbini committed Feb 6, 2024
1 parent 9748469 commit 052cf17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/socket-handlers/manage-agent-socket-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class ManageAgentSocketHandler extends SocketHandler {
});

// updateAgent
socket.on("updateAgent", async (friendlyname : unknown, updatedFriendlyName : unknown, callback : unknown) => {
socket.on("updateAgent", async (friendlyname : string, updatedFriendlyName : string, callback : unknown) => {
try {
log.debug("manage-agent-socket-handler", "updateAgent");
checkLogin(socket);
Expand Down

0 comments on commit 052cf17

Please sign in to comment.