diff --git a/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts b/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts index 54f01030..5846a4ca 100644 --- a/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts +++ b/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts @@ -64,16 +64,12 @@ export class SeamHttpNoiseSensorsNoiseThresholds { return new SeamHttpNoiseSensorsNoiseThresholds(opts) } - async create( - body: NoiseSensorsNoiseThresholdsCreateBody, - ): Promise { - const { data } = - await this.client.request({ - url: '/noise_sensors/noise_thresholds/create', - method: 'post', - data: body, - }) - return data.action_attempt + async create(body: NoiseSensorsNoiseThresholdsCreateBody): Promise { + await this.client.request({ + url: '/noise_sensors/noise_thresholds/create', + method: 'post', + data: body, + }) } async delete(body: NoiseSensorsNoiseThresholdsDeleteBody): Promise {