mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-12 18:58:00 +00:00
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:
parent
0709d8deb9
commit
014c6896b1
|
@ -1 +1 @@
|
|||
__version__ = '0.3.0'
|
||||
__version__ = '0.3.1'
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ from __future__ import annotations
|
|||
import aputils
|
||||
import traceback
|
||||
import typing
|
||||
import json
|
||||
|
||||
from .base import View, register_route
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue