mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update AP helpers, remove unused variable
This commit is contained in:
parent
c989b2a548
commit
20e0371c19
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ class Helpers {
|
||||||
abort_if(!self::validateUrl($res['inbox']), 400);
|
abort_if(!self::validateUrl($res['inbox']), 400);
|
||||||
abort_if(!self::validateUrl($res['id']), 400);
|
abort_if(!self::validateUrl($res['id']), 400);
|
||||||
|
|
||||||
$profile = DB::transaction(function() use($domain, $webfinger, $res, $runJobs) {
|
$profile = DB::transaction(function() use($domain, $webfinger, $res) {
|
||||||
$instance = Instance::updateOrCreate([
|
$instance = Instance::updateOrCreate([
|
||||||
'domain' => $domain
|
'domain' => $domain
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue