Compare commits

...

2 commits

Author SHA1 Message Date
Izalia Mae b8b9f59893 Merge branch 'dev' into 'main'
Draft: version 0.3.3

See merge request pleroma/relay!59
2024-09-15 00:50:55 +00:00
Izalia Mae 0e89b9bb11 include token in /api/v1/login response 2024-09-14 20:38:03 -04:00
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ class Connection(SqlConnection):
# todo: check if software is different than stored row
def put_inbox(self,
def put_inbox(self, # noqa: E301
domain: str,
inbox: str | None = None,
actor: str | None = None,

View file

@ -213,7 +213,7 @@ class Login(View):
app = conn.put_app_login(user)
resp = Response.new(app.get_api_data(), ctype = 'json')
resp = Response.new(app.get_api_data(True), ctype = 'json')
resp.set_cookie(
'user-token',
app.token, # type: ignore[arg-type]