mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-10 02:17:59 +00:00
Compare commits
1 commit
b8b9f59893
...
d91c31c3ed
Author | SHA1 | Date | |
---|---|---|---|
d91c31c3ed |
|
@ -142,7 +142,7 @@ class Connection(SqlConnection):
|
||||||
|
|
||||||
|
|
||||||
# todo: check if software is different than stored row
|
# todo: check if software is different than stored row
|
||||||
def put_inbox(self, # noqa: E301
|
def put_inbox(self,
|
||||||
domain: str,
|
domain: str,
|
||||||
inbox: str | None = None,
|
inbox: str | None = None,
|
||||||
actor: str | None = None,
|
actor: str | None = None,
|
||||||
|
|
|
@ -213,7 +213,7 @@ class Login(View):
|
||||||
|
|
||||||
app = conn.put_app_login(user)
|
app = conn.put_app_login(user)
|
||||||
|
|
||||||
resp = Response.new(app.get_api_data(True), ctype = 'json')
|
resp = Response.new(app.get_api_data(), ctype = 'json')
|
||||||
resp.set_cookie(
|
resp.set_cookie(
|
||||||
'user-token',
|
'user-token',
|
||||||
app.token, # type: ignore[arg-type]
|
app.token, # type: ignore[arg-type]
|
||||||
|
|
Loading…
Reference in a new issue