From be7e9f5871ed373485a8c1241a390b808cf7e100 Mon Sep 17 00:00:00 2001 From: Jibon Date: Thu, 16 Nov 2023 17:34:05 +0100 Subject: [PATCH] update proto --- go.mod | 2 +- go.sum | 4 ++-- pkg/models/recording.go | 2 +- pkg/models/speech_services.go | 2 +- pkg/models/webhook.go | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index b1bc1535..6e1fa3ca 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/jordic/lti v0.0.0-20160211051708-2c756eacbab9 github.com/livekit/protocol v1.9.1 github.com/livekit/server-sdk-go v1.1.1 - github.com/mynaparrot/plugnmeet-protocol v0.0.0-20231116105620-9ec588f45cf6 + github.com/mynaparrot/plugnmeet-protocol v0.0.0-20231116163140-015191151259 github.com/redis/go-redis/v9 v9.3.0 github.com/sirupsen/logrus v1.9.3 github.com/stretchr/testify v1.8.4 diff --git a/go.sum b/go.sum index 421b2e00..91d50a4b 100644 --- a/go.sum +++ b/go.sum @@ -143,8 +143,8 @@ github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZ github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 h1:jWpvCLoY8Z/e3VKvlsiIGKtc+UG6U5vzxaoagmhXfyg= github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0/go.mod h1:QUyp042oQthUoa9bqDv0ER0wrtXnBruoNd7aNjkbP+k= -github.com/mynaparrot/plugnmeet-protocol v0.0.0-20231116105620-9ec588f45cf6 h1:cWIsMwHbEi8RX/QuniUpFmXgx2wJRgkRzgeg+ZW4wMQ= -github.com/mynaparrot/plugnmeet-protocol v0.0.0-20231116105620-9ec588f45cf6/go.mod h1:0vBy3B8TIvq1Zc8/bayiMtnL8450UHhWjTma4l/UiKI= +github.com/mynaparrot/plugnmeet-protocol v0.0.0-20231116163140-015191151259 h1:PTl83CH2yBiy4ZqfKd2blMyIQgnGvNCdPSZ4Nes/8Tc= +github.com/mynaparrot/plugnmeet-protocol v0.0.0-20231116163140-015191151259/go.mod h1:0vBy3B8TIvq1Zc8/bayiMtnL8450UHhWjTma4l/UiKI= github.com/nats-io/nats.go v1.31.0 h1:/WFBHEc/dOKBF6qf1TZhrdEfTmOZ5JzdJ+Y3m6Y/p7E= github.com/nats-io/nats.go v1.31.0/go.mod h1:di3Bm5MLsoB4Bx61CBTsxuarI36WbhAwOm8QrW39+i8= github.com/nats-io/nkeys v0.4.6 h1:IzVe95ru2CT6ta874rt9saQRkWfe2nFj1NtvYSLqMzY= diff --git a/pkg/models/recording.go b/pkg/models/recording.go index 7effadc5..603b24c4 100644 --- a/pkg/models/recording.go +++ b/pkg/models/recording.go @@ -372,7 +372,7 @@ func (rm *RecordingModel) sendToWebhookNotifier(r *plugnmeet.RecorderToPlugNmeet }, } - err := n.SendWebhook(msg) + err := n.SendWebhook(msg, nil) if err != nil { log.Errorln(err) } diff --git a/pkg/models/speech_services.go b/pkg/models/speech_services.go index 3ceef92b..b1c84ce4 100644 --- a/pkg/models/speech_services.go +++ b/pkg/models/speech_services.go @@ -400,7 +400,7 @@ func (s *SpeechServices) sendToWebhookNotifier(rId, rSid string, userId *string, TotalUsage: usage, }, } - err := n.SendWebhook(msg) + err := n.SendWebhook(msg, nil) if err != nil { log.Errorln(err) } diff --git a/pkg/models/webhook.go b/pkg/models/webhook.go index c19c73b4..baf801a2 100644 --- a/pkg/models/webhook.go +++ b/pkg/models/webhook.go @@ -352,5 +352,5 @@ func (w *webhookEvent) sendToWebhookNotifier(event *livekit.WebhookEvent) { } msg := utils.PrepareCommonWebhookNotifyEvent(event) - _ = w.notifier.SendWebhook(msg) + _ = w.notifier.SendWebhook(msg, nil) }