File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
src/lib/seam/connect/routes Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -64,16 +64,12 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
64
64
return new SeamHttpNoiseSensorsNoiseThresholds ( opts )
65
65
}
66
66
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
+ } )
77
73
}
78
74
79
75
async delete ( body : NoiseSensorsNoiseThresholdsDeleteBody ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments