Commit 54bc2c8
authored
Update set_zone_locations to return code (#11)
According to https://woocommerce.github.io/woocommerce-rest-api-docs/?shell#update-a-locations-of-a-shipping-zone, and debugging, the response from the PUT on the /locations endpoint will return a JSON string containing a "code" and a "type" property. ID does not exist, and this will break unit tests on PHP8+1 parent 27e94f1 commit 54bc2c8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
0 commit comments