From 1a639548f09f0ea29c1720f355d4e4cf5fb7ef21 Mon Sep 17 00:00:00 2001 From: missytake <missytake@systemli.org> Date: Sun, 19 Mar 2023 13:20:14 +0100 Subject: [PATCH] [mastodon] Remove redundant error class --- backend/src/kibicara/platforms/mastodon/webapi.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/backend/src/kibicara/platforms/mastodon/webapi.py b/backend/src/kibicara/platforms/mastodon/webapi.py index c6dc386..025acb0 100644 --- a/backend/src/kibicara/platforms/mastodon/webapi.py +++ b/backend/src/kibicara/platforms/mastodon/webapi.py @@ -37,10 +37,6 @@ class BodyMastodonAccount(BaseModel): return validate_email(value) -class HTTPError(BaseModel): - status_code: int - - async def get_mastodon(mastodon_id, hood=Depends(get_hood)): try: return await MastodonAccount.objects.get(id=mastodon_id, hood=hood)