@agroyaar/sdk 1.1.4-1 → 1.1.4-2
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/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -118,7 +118,7 @@ var createMechanizationServices = (client) => ({
|
|
118
118
|
deviceCode
|
119
119
|
}) => {
|
120
120
|
try {
|
121
|
-
const { data } = await client.
|
121
|
+
const { data } = await client.put(
|
122
122
|
`/farmers/${farmerId}/mechanizations/${mechanizationId}/submit-device-code`,
|
123
123
|
{ deviceCode }
|
124
124
|
);
|
package/dist/index.mjs
CHANGED
@@ -82,7 +82,7 @@ var createMechanizationServices = (client) => ({
|
|
82
82
|
deviceCode
|
83
83
|
}) => {
|
84
84
|
try {
|
85
|
-
const { data } = await client.
|
85
|
+
const { data } = await client.put(
|
86
86
|
`/farmers/${farmerId}/mechanizations/${mechanizationId}/submit-device-code`,
|
87
87
|
{ deviceCode }
|
88
88
|
);
|