use scanType instead of type
This commit is contained in:
parent
8dcc040558
commit
efb3c9eb59
1 changed files with 1 additions and 1 deletions
|
|
@ -990,7 +990,7 @@ export default function DeviceProvider(props: PropsWithChildren<Props>) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const removeFoundComponents = (id: number, key: string, type: pond.ObjectType, otherTeam?: string) => {
|
const removeFoundComponents = (id: number, key: string, type: pond.ObjectType, otherTeam?: string) => {
|
||||||
let url = "/devices/" + id + "/removeFoundComponents/" + key + "?type=" + type;
|
let url = "/devices/" + id + "/removeFoundComponents/" + key + "?scanType=" + type;
|
||||||
const view = otherTeam ? otherTeam : as
|
const view = otherTeam ? otherTeam : as
|
||||||
if(view) url = url + "&as=" + view
|
if(view) url = url + "&as=" + view
|
||||||
return new Promise<AxiosResponse<pond.RemoveFoundComponentsResponse>>((resolve, reject) => {
|
return new Promise<AxiosResponse<pond.RemoveFoundComponentsResponse>>((resolve, reject) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue