Showing
1 changed file
with
7 additions
and
4 deletions
| @@ -196,8 +196,11 @@ export const batchGetObjectModel = ({ | @@ -196,8 +196,11 @@ export const batchGetObjectModel = ({ | ||
| 196 | deviceProfileIds: string[]; | 196 | deviceProfileIds: string[]; |
| 197 | functionTypeEnum?: FunctionTypeEnum | 'all'; | 197 | functionTypeEnum?: FunctionTypeEnum | 'all'; |
| 198 | }) => { | 198 | }) => { |
| 199 | - return defHttp.post<BatchGetObjectModelItemType[]>({ | ||
| 200 | - url: ModelOfMatter.BATCH_GET_TSL_BY_DEVICE_PROFILES, | ||
| 201 | - data: { deviceProfileIds, functionTypeEnum }, | ||
| 202 | - }); | 199 | + return defHttp.post<BatchGetObjectModelItemType[]>( |
| 200 | + { | ||
| 201 | + url: ModelOfMatter.BATCH_GET_TSL_BY_DEVICE_PROFILES, | ||
| 202 | + data: { deviceProfileIds, functionTypeEnum }, | ||
| 203 | + }, | ||
| 204 | + { withShareToken: true } | ||
| 205 | + ); | ||
| 203 | }; | 206 | }; |