Skip to content

Commit

Permalink
fix: providedIn annotation for audio recorder service
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Nov 22, 2024
1 parent da7bea5 commit 172b5d2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Injectable } from '@angular/core';
import { Injectable, NgModule } from '@angular/core';
import { AmplitudeRecorderService } from './amplitude-recorder.service';
import { isSafari } from '../is-safari';
import { MediaRecorderConfig, MultimediaRecorder } from './media-recorder';
Expand All @@ -7,12 +7,11 @@ import { ChatClientService } from '../chat-client.service';
import { TranscoderService } from './transcoder.service';
import { resampleWaveForm } from '../wave-form-sampler';
import { AudioRecording, MediaRecording } from '../types';
import { NgModel } from '@angular/forms';

/**
* The `AudioRecorderService` can record an audio file, the SDK uses this to record a voice message
*/
@Injectable({ providedIn: NgModel })
@Injectable({ providedIn: NgModule })
export class AudioRecorderService extends MultimediaRecorder<
Omit<AudioRecording, keyof MediaRecording>
> {
Expand Down

0 comments on commit 172b5d2

Please sign in to comment.