1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-03-03 10:16:05 +00:00

Merge pull request #5817 from pixelfed/staging

Update AppRegisterController
This commit is contained in:
daniel 2025-03-02 03:52:22 -07:00 committed by GitHub
commit e92f629826
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

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

View file

@ -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',

View file

@ -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 {