mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 02:02:25 -05:00 
			
		
		
		
	nodeinfo compliance (#61)
This commit is contained in:
		
					parent
					
						
							
								16e486ad96
							
						
					
				
			
			
				commit
				
					
						c1e107266f
					
				
			
		
					 14 changed files with 285 additions and 46 deletions
				
			
		|  | @ -41,7 +41,7 @@ func (f *federator) FingerRemoteAccount(requestingUsername string, targetUsernam | |||
| 		return nil, fmt.Errorf("FingerRemoteAccount: error doing request on behalf of username %s while dereferencing @%s@%s: %s", requestingUsername, targetUsername, targetDomain, err) | ||||
| 	} | ||||
| 
 | ||||
| 	resp := &apimodel.WebfingerAccountResponse{} | ||||
| 	resp := &apimodel.WellKnownResponse{} | ||||
| 	if err := json.Unmarshal(b, resp); err != nil { | ||||
| 		return nil, fmt.Errorf("FingerRemoteAccount: could not unmarshal server response as WebfingerAccountResponse on behalf of username %s while dereferencing @%s@%s: %s", requestingUsername, targetUsername, targetDomain, err) | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue