some minor changes

* version bump to 0.3.1
* remove debug print in frontend endpoints
* remove unused json import
* fix toast messages for accepting/denying follow requests
This commit is contained in:
Izalia Mae 2024-03-28 05:57:28 -04:00
parent 0709d8deb9
commit 014c6896b1
4 changed files with 3 additions and 4 deletions

View file

@ -1 +1 @@
__version__ = '0.3.0'
__version__ = '0.3.1'

View file

@ -100,6 +100,7 @@ async function req_response(domain, accept) {
}
if (!accept) {
toast("Denied instance request", "message");
return;
}
@ -117,7 +118,7 @@ async function req_response(domain, accept) {
}
});
toast("Removed instance", "message");
toast("Accepted instance request", "message");
}

View file

@ -3,7 +3,6 @@ from __future__ import annotations
import aputils
import traceback
import typing
import json
from .base import View, register_route

View file

@ -45,7 +45,6 @@ async def handle_frontend_path(request: web.Request, handler: Callable) -> Respo
response = await handler(request)
if not request['user'] and request['token']:
print("del token")
response.del_cookie('user-token')
return response