Skip to content

Commit 90e55bc

Browse files
committed
fix: use the correct name of stop campaign
1 parent 069f552 commit 90e55bc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

getstream/chat/async_rest_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ async def start_campaign(
9292
json=json,
9393
)
9494

95-
@telemetry.operation_name("getstream.api.chat.schedule_campaign")
96-
async def schedule_campaign(
95+
@telemetry.operation_name("getstream.api.chat.stop_campaign")
96+
async def stop_campaign(
9797
self,
9898
id: str,
9999
) -> StreamResponse[CampaignResponse]:

getstream/chat/rest_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ def start_campaign(
9292
json=json,
9393
)
9494

95-
@telemetry.operation_name("getstream.api.chat.schedule_campaign")
96-
def schedule_campaign(
95+
@telemetry.operation_name("getstream.api.chat.stop_campaign")
96+
def stop_campaign(
9797
self,
9898
id: str,
9999
) -> StreamResponse[CampaignResponse]:

0 commit comments

Comments
 (0)