(urlPath, params = {})
| 257 | } |
| 258 | |
| 259 | async gardenGet(urlPath, params = {}) { |
| 260 | const res = await this.withRelogin(() => |
| 261 | request("get", GARDEN_BASE, urlPath, { token: this.token, params }) |
| 262 | ); |
| 263 | return assertOk(res, urlPath); |
| 264 | } |
| 265 | |
| 266 | async gardenPost(urlPath, data = {}) { |
| 267 | const res = await this.withRelogin(() => |
no test coverage detected