Merge pull request #5817 from pixelfed/staging

Update AppRegisterController
pull/5832/head
daniel 3 months ago committed by GitHub
commit e92f629826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -12,7 +12,7 @@ class HashtagFollow extends Model
'hashtag_id'
];
const MAX_LIMIT = 250;
const MAX_LIMIT = 25;
public function hashtag()
{

@ -255,6 +255,7 @@ class AppRegisterController extends Controller
$expiresAt = $tokenModel->expires_at ?? now()->addDays(config('instance.oauth.token_expiration', 356));
$expiresIn = now()->diffInSeconds($expiresAt);
AppRegister::whereEmail($email)->delete();
return response()->json([
'status' => 'success',

@ -73,6 +73,7 @@ class FetchNodeinfoPipeline implements ShouldQueue, ShouldBeUniqueUntilProcessin
$instance->user_count = Profile::whereDomain($instance->domain)->count();
$instance->nodeinfo_last_fetched = now();
$instance->last_crawled_at = now();
$instance->delivery_timeout = 0;
$instance->save();
}
} else {

Loading…
Cancel
Save