kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Update FollowRequest model
							rodzic
							
								
									35e0140e87
								
							
						
					
					
						commit
						0dc8d70639
					
				|  | @ -17,4 +17,14 @@ class FollowRequest extends Model | ||||||
|     { |     { | ||||||
|         return $this->belongsTo(Profile::class, 'following_id', 'id'); |         return $this->belongsTo(Profile::class, 'following_id', 'id'); | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|  |     public function actor() | ||||||
|  |     { | ||||||
|  |         return $this->belongsTo(Profile::class, 'follower_id', 'id'); | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     public function target() | ||||||
|  |     { | ||||||
|  |         return $this->belongsTo(Profile::class, 'following_id', 'id'); | ||||||
|  |     } | ||||||
| } | } | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Daniel Supernault
						Daniel Supernault