From 8d38d23cedb5bffe60cb874856d96782643f6cf7 Mon Sep 17 00:00:00 2001 From: Nikita Konev Date: Sat, 13 Jan 2024 08:20:50 +0400 Subject: [PATCH] Rename --- video/handlers/invite.go | 2 +- video/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/video/handlers/invite.go b/video/handlers/invite.go index 34fc7e108..c503ab780 100644 --- a/video/handlers/invite.go +++ b/video/handlers/invite.go @@ -367,7 +367,7 @@ func (vh *InviteHandler) sendMissedCallNotification(chatId int64, ctx context.Co } // send current dial statuses to WebSocket -func (vh *InviteHandler) AskDials(c echo.Context) error { +func (vh *InviteHandler) SendDialStatusChangedToCallOwner(c echo.Context) error { var userPrincipalDto, ok = c.Get(utils.USER_PRINCIPAL_DTO).(*auth.AuthResult) if !ok { Logger.Errorf("Error during getting auth context") diff --git a/video/main.go b/video/main.go index 7bc7446e0..8f8334511 100644 --- a/video/main.go +++ b/video/main.go @@ -168,7 +168,7 @@ func configureApiEcho( e.PUT("/video/:id/dial/accept", ih.ProcessRemoveFromCallList) // accepting by invitee e.PUT("/video/:id/dial/cancel", ih.ProcessRemoveFromCallList) // cancelling by invitee e.PUT("/video/:id/dial/exit", ih.ProcessAsOwnerLeave) // used by owner - e.PUT("/video/:id/dial/request-for-is-calling", ih.AskDials) + e.PUT("/video/:id/dial/request-for-is-calling", ih.SendDialStatusChangedToCallOwner) e.PUT("/video/:id/record/start", rh.StartRecording) e.PUT("/video/:id/record/stop", rh.StopRecording)