kopia lustrzana https://github.com/pixelfed/pixelfed
				
				
				
			Update AP ProfileTransformer, add published attribute
							rodzic
							
								
									1be21c76f3
								
							
						
					
					
						commit
						adfaa2b140
					
				| 
						 | 
				
			
			@ -40,6 +40,7 @@ class ProfileTransformer extends Fractal\TransformerAbstract
 | 
			
		|||
          'url'                       => $profile->url(),
 | 
			
		||||
          'manuallyApprovesFollowers' => (bool) $profile->is_private,
 | 
			
		||||
          'indexable'                 => (bool) $profile->indexable,
 | 
			
		||||
          'published'                 => $profile->created_at->format('Y-m-d') . 'T00:00:00Z',
 | 
			
		||||
          'publicKey' => [
 | 
			
		||||
            'id'           => $profile->permalink().'#main-key',
 | 
			
		||||
            'owner'        => $profile->permalink(),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue