From 9e1651f45bdbc5b1d1c08a8359cc23e8c59eeb2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E7=89=B9=E6=B5=A9=E5=80=AA?= Date: Tue, 30 Jan 2024 21:12:31 +0800 Subject: [PATCH] remove test code --- service/backend/app/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/service/backend/app/main.py b/service/backend/app/main.py index 9ac9344..7a38f7c 100644 --- a/service/backend/app/main.py +++ b/service/backend/app/main.py @@ -12,7 +12,6 @@ @License : MIT License ''' import os -import arrow import redis from fastapi import FastAPI, Request, HTTPException, Query, Response from fastapi.middleware.cors import CORSMiddleware @@ -119,9 +118,7 @@ async def nodeinfo(): @app.get("/actor", response_class=ActivityResponse, tags=['ActivityPub'], name='Actor', response_model=activitypub_model.Actor) async def actor(): logger.info('Incoming request for actor') - print(arrow.now()) actor, wr = get_wand_actor_and_wr() - print(arrow.now()) return ActivityResponse(content=actor.model_dump(by_alias=True))