Revert "incorporate new pyteamsnap, incorporate loading from sessions before creating new client."

This reverts commit cf28a5f133.
This commit is contained in:
2022-06-23 07:44:26 -05:00
parent fe8a6ccad4
commit a0c6582d52
5 changed files with 19 additions and 32 deletions

View File

@@ -25,7 +25,7 @@ def dashboard(request, team_id=None):
team_id=request.user.teamsnap_preferences.managed_team_id,
)
from pyteamsnap.objects import AvailabilitySummary, Event
from pyteamsnap.api import AvailabilitySummary, Event
client = get_teamsnap_client(request)
ts_events = Event.search(client, team_id=team_id)