mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-27 00:33:17 +00:00
Update ap helpers, fix duplicate entry bug
This commit is contained in:
parent
078966edb8
commit
85cfa1ba9a
1 changed files with 2 additions and 2 deletions
|
@ -742,10 +742,10 @@ class Helpers {
|
||||||
[
|
[
|
||||||
'domain' => strtolower($domain),
|
'domain' => strtolower($domain),
|
||||||
'username' => Purify::clean($webfinger),
|
'username' => Purify::clean($webfinger),
|
||||||
'webfinger' => Purify::clean($webfinger),
|
|
||||||
'key_id' => $res['publicKey']['id'],
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
'webfinger' => Purify::clean($webfinger),
|
||||||
|
'key_id' => $res['publicKey']['id'],
|
||||||
'remote_url' => $res['id'],
|
'remote_url' => $res['id'],
|
||||||
'name' => isset($res['name']) ? Purify::clean($res['name']) : 'user',
|
'name' => isset($res['name']) ? Purify::clean($res['name']) : 'user',
|
||||||
'bio' => isset($res['summary']) ? Purify::clean($res['summary']) : null,
|
'bio' => isset($res['summary']) ? Purify::clean($res['summary']) : null,
|
||||||
|
|
Loading…
Reference in a new issue