kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Update AppRegisterController
							rodzic
							
								
									a7f0c45505
								
							
						
					
					
						commit
						5340649d04
					
				| 
						 | 
				
			
			@ -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 {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue