mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-11-18 04:32:23 -05:00
no config only profiles
This commit is contained in:
@@ -188,8 +188,8 @@ io.on('connection', (socket) => {
|
||||
}));
|
||||
return { results };
|
||||
});
|
||||
bind('roverManagement:saveProfile', async ({ roverId, category, profile }) => {
|
||||
const { id, result } = request(roverId, { type: 'profile.set', category, profile });
|
||||
bind('roverManagement:saveProfile', async ({ roverId, category, profile, config }) => {
|
||||
const { id, result } = request(roverId, { type: 'profile.set', category, profile, config });
|
||||
await result;
|
||||
return { id };
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user