mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 15:42:26 -05:00 
			
		
		
		
	[bugfix] incorrect AP serialize function used serializing worker data (#3196)
This commit is contained in:
		
					parent
					
						
							
								871d062bd6
							
						
					
				
			
			
				commit
				
					
						4cb3e4d3e6
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -230,7 +230,7 @@ func (msg *FromFediAPI) Serialize() ([]byte, error) { | |||
| 
 | ||||
| 	// Set serialized AP object data if set. | ||||
| 	if t, ok := msg.APObject.(vocab.Type); ok { | ||||
| 		obj, err := t.Serialize() | ||||
| 		obj, err := streams.Serialize(t) | ||||
| 		if err != nil { | ||||
| 			return nil, err | ||||
| 		} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue