Skip to content

Commit

Permalink
Merge pull request #1 from narlock/narlock-patch-1
Browse files Browse the repository at this point in the history
Update monthtime_client.py
  • Loading branch information
narlock authored Sep 2, 2024
2 parents ddd67ef + 3ff8a54 commit 17ddd05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/client/alder/interface/monthtime_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def get_monthtime_current_month_for_user(user_id: int):
Retrieves the month time entry for the user for the
current month.
"""
return AlderAPIClient.get(f'/dailytime/{user_id}')
return AlderAPIClient.get(f'/monthtime/{user_id}')

@staticmethod
def get_monthtime_for_user_specific_date(user_id: int, month: int, year: int):
Expand Down Expand Up @@ -102,4 +102,4 @@ def get_top_10_stime_users_current_month():

# Obtain response and return users list
response = MonthTimeClient.search_monthtime(request_body)
return json.loads(response.text)
return json.loads(response.text)

0 comments on commit 17ddd05

Please sign in to comment.