mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	Remove newline from error string
This commit is contained in:
		
					parent
					
						
							
								b869d91dc1
							
						
					
				
			
			
				commit
				
					
						d52bb4bf8f
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -123,7 +123,7 @@ func parseActor(actor string) (ActorData, error) { | |||
| 	} | ||||
| 
 | ||||
| 	if !strings.Contains(u.Path, "api/v1/activitypub/user-id") { | ||||
| 		return ActorData{}, fmt.Errorf("the Path to the API was invalid: %v\n the full URL is: %v\n", u.Path, actor) | ||||
| 		return ActorData{}, fmt.Errorf("the Path to the API was invalid: %v\n the full URL is: %v", u.Path, actor) | ||||
| 	} | ||||
| 
 | ||||
| 	pathWithUserID := strings.Split(u.Path, "/") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue