Commit 908c0f0d81ed92011e61c299252dbfa34151ce98

Authored by ww
1 parent c3955490

fix: create device bind gatewayId use tbDeviceId

... ... @@ -186,7 +186,7 @@ export const getGATEWAYdevice = async (params: { organization: string }) => {
186 186 params,
187 187 });
188 188 return Promise.resolve<{ label: string; value: string }[]>(
189   - res.map((item) => ({ label: item.name, value: item.id }))
  189 + res.map((item) => ({ label: item.name, value: item.tbDeviceId }))
190 190 );
191 191 };
192 192
... ...