mirror of
https://github.com/Wessel/Roommapper.git
synced 2026-07-21 23:37:11 +02:00
fix: Unused variables in web client
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
src/Client/API/Console/bin/Debug/net8.0/LibParse.dll
Executable file → Normal file
BIN
src/Client/API/Console/bin/Debug/net8.0/LibParse.dll
Executable file → Normal file
Binary file not shown.
BIN
src/Client/API/Console/bin/Debug/net8.0/LibParse.pdb
Executable file → Normal file
BIN
src/Client/API/Console/bin/Debug/net8.0/LibParse.pdb
Executable file → Normal file
Binary file not shown.
BIN
src/Client/API/Console/bin/Debug/net8.0/LibServer.dll
Executable file → Normal file
BIN
src/Client/API/Console/bin/Debug/net8.0/LibServer.dll
Executable file → Normal file
Binary file not shown.
BIN
src/Client/API/Console/bin/Debug/net8.0/LibServer.pdb
Executable file → Normal file
BIN
src/Client/API/Console/bin/Debug/net8.0/LibServer.pdb
Executable file → Normal file
Binary file not shown.
BIN
src/Server/LibParse/bin/Debug/net8.0/LibParse.dll
Executable file → Normal file
BIN
src/Server/LibParse/bin/Debug/net8.0/LibParse.dll
Executable file → Normal file
Binary file not shown.
BIN
src/Server/LibParse/bin/Debug/net8.0/LibParse.pdb
Executable file → Normal file
BIN
src/Server/LibParse/bin/Debug/net8.0/LibParse.pdb
Executable file → Normal file
Binary file not shown.
BIN
src/Server/LibServer/bin/Debug/net8.0/LibServer.dll
Executable file → Normal file
BIN
src/Server/LibServer/bin/Debug/net8.0/LibServer.dll
Executable file → Normal file
Binary file not shown.
BIN
src/Server/LibServer/bin/Debug/net8.0/LibServer.pdb
Executable file → Normal file
BIN
src/Server/LibServer/bin/Debug/net8.0/LibServer.pdb
Executable file → Normal file
Binary file not shown.
@@ -12,13 +12,16 @@ public class RouteControl: IRoute {
|
||||
{
|
||||
"roomba", new() {
|
||||
{
|
||||
"start", "127.0.0.1:5000/api/v1/database/metadata"
|
||||
"start", "127.0.0.1:5050/api/v1/start"
|
||||
// "start", "127.0.0.1:5000/api/v1/database/metadata"
|
||||
},
|
||||
{
|
||||
"stop", "127.0.0.1:5000/api/v1/database/metadata"
|
||||
"stop", "127.0.0.1:5050/api/v1/stop"
|
||||
// "stop", "127.0.0.1:5000/api/v1/database/metadata"
|
||||
},
|
||||
{
|
||||
"map", "127.0.0.1:5000/api/v1/database/metadata"
|
||||
"map", "127.0.0.1:5050/api/v1/map"
|
||||
// "map", "127.0.0.1:5000/api/v1/database/metadata"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,6 @@ export default class MapCanvas extends React.Component {
|
||||
|
||||
async getLinePoints(endpoint = '', altKey, altVal) {
|
||||
try {
|
||||
const { searchOption, inputValue } = this.state;
|
||||
const key = altKey || this.state.searchOption;
|
||||
const val = altVal || this.state.inputValue;
|
||||
const url = `${API_ENDPOINT}/database/${endpoint}?${key}=${val}`;
|
||||
|
||||
Reference in New Issue
Block a user