mirror of
https://github.com/louislam/dockge.git
synced 2025-02-21 11:05:56 +00:00
fix(manage-agent-socket-handler): type
fix tsc check by updating var type
This commit is contained in:
parent
9748469585
commit
052cf17563
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue