mirror of
				https://codeberg.org/forgejo/forgejo.git
				synced 2025-10-31 06:21:11 +00:00 
			
		
		
		
	Fixes https://codeberg.org/forgejo/forgejo/issues/1514 Backports #27273 --------- Co-authored-by: JakobDev <jakobdev@gmx.de>
This commit is contained in:
		
					parent
					
						
							
								6ac2ade97d
							
						
					
				
			
			
				commit
				
					
						6637bbf510
					
				
			
		
					 14 changed files with 79 additions and 51 deletions
				
			
		|  | @ -385,7 +385,7 @@ func Delete(ctx *context.APIContext) { | |||
| 	//   "404": | ||||
| 	//     "$ref": "#/responses/notFound" | ||||
| 
 | ||||
| 	if err := org.DeleteOrganization(ctx.Org.Organization); err != nil { | ||||
| 	if err := org.DeleteOrganization(ctx, ctx.Org.Organization, false); err != nil { | ||||
| 		ctx.Error(http.StatusInternalServerError, "DeleteOrganization", err) | ||||
| 		return | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue