Skip to content

Commit

Permalink
v3
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Sep 1, 2024
1 parent 87d52cc commit ab432d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jobs/kafka/players/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

import aiohttp
from aiokafka import AIOKafkaConsumer, AIOKafkaProducer, TopicPartition

from config import config

from .models import Player
Expand Down Expand Up @@ -169,7 +170,7 @@ async def get_data(receive_queue: Queue, consumer: AIOKafkaConsumer):
"greater_than": 1,
}
headers = {"token": APPCONFIG.API_TOKEN}
url = f"{APPCONFIG.ENDPOINT}/v2/player"
url = f"{APPCONFIG.ENDPOINT}/v3/player"

delta_days = 7
while True:
Expand Down

0 comments on commit ab432d8

Please sign in to comment.