@cpzxrobot/sdk 1.3.33 → 1.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/company_gateway.ts +1 -1
- package/dist/company_gateway.js +1 -1
- package/package.json +1 -1
package/company_gateway.ts
CHANGED
|
@@ -60,7 +60,7 @@ export class CompanyGateway extends Object {
|
|
|
60
60
|
var selectedFarm = await this.context.user.getSelectedFarm();
|
|
61
61
|
companyId = selectedFarm.id;
|
|
62
62
|
}
|
|
63
|
-
return axios.get(`/api/v2/company/${companyId}/attribute
|
|
63
|
+
return axios.get(`/api/v2/company/${companyId}/attribute?key=${key}`);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
get department() {
|
package/dist/company_gateway.js
CHANGED
|
@@ -52,7 +52,7 @@ class CompanyGateway extends Object {
|
|
|
52
52
|
var selectedFarm = await this.context.user.getSelectedFarm();
|
|
53
53
|
companyId = selectedFarm.id;
|
|
54
54
|
}
|
|
55
|
-
return axios.get(`/api/v2/company/${companyId}/attribute
|
|
55
|
+
return axios.get(`/api/v2/company/${companyId}/attribute?key=${key}`);
|
|
56
56
|
}
|
|
57
57
|
get department() {
|
|
58
58
|
return {
|