mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: remove testing leftovers
This commit is contained in:
parent
b564c8db64
commit
c7061a26fa
16 changed files with 30 additions and 71 deletions
|
|
@ -173,7 +173,6 @@ async def get_collections(
|
|||
):
|
||||
collections = request.app.db["collections"]
|
||||
|
||||
print(org_id)
|
||||
|
||||
if current_user.user_id == "anonymous":
|
||||
all_collections = collections.find(
|
||||
|
|
|
|||
|
|
@ -204,7 +204,6 @@ async def create_initial_data(request: Request):
|
|||
activities=[],
|
||||
)
|
||||
coursechapter = await create_coursechapter(request,coursechapter, course_id, current_user)
|
||||
pprint(coursechapter)
|
||||
if coursechapter:
|
||||
# create activities
|
||||
for i in range(0, 5):
|
||||
|
|
|
|||
|
|
@ -364,7 +364,6 @@ async def create_sample_data(org_slug: str, username: str, request: Request):
|
|||
|
||||
current_user = PublicUser(**user)
|
||||
|
||||
print(current_user)
|
||||
for i in range(0, 5):
|
||||
# get image in BinaryIO format from unsplash and save it to disk
|
||||
image = requests.get("https://source.unsplash.com/random/800x600")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue