fix: gts uses a path but its not real???
This commit is contained in:
parent
5a57fd69b9
commit
6129973b13
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ where
|
|||
|
||||
// TODO assert payload's digest is equal to signature's
|
||||
let user_id = http_signature.key_id
|
||||
.replace("/main-key", "") // gotosocial whyyyyy
|
||||
.split('#')
|
||||
.next().ok_or(UpubError::bad_request())?
|
||||
.to_string();
|
||||
|
|
Loading…
Reference in a new issue