Skip to content

Commit 82ea55f

Browse files
committed
ci: Generate code
1 parent 7e70c6f commit 82ea55f

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,12 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
6464
return new SeamHttpNoiseSensorsNoiseThresholds(opts)
6565
}
6666

67-
async create(
68-
body: NoiseSensorsNoiseThresholdsCreateBody,
69-
): Promise<NoiseSensorsNoiseThresholdsCreateResponse['action_attempt']> {
70-
const { data } =
71-
await this.client.request<NoiseSensorsNoiseThresholdsCreateResponse>({
72-
url: '/noise_sensors/noise_thresholds/create',
73-
method: 'post',
74-
data: body,
75-
})
76-
return data.action_attempt
67+
async create(body: NoiseSensorsNoiseThresholdsCreateBody): Promise<void> {
68+
await this.client.request<NoiseSensorsNoiseThresholdsCreateResponse>({
69+
url: '/noise_sensors/noise_thresholds/create',
70+
method: 'post',
71+
data: body,
72+
})
7773
}
7874

7975
async delete(body: NoiseSensorsNoiseThresholdsDeleteBody): Promise<void> {

0 commit comments

Comments
 (0)