mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 12:12:25 -05:00 
			
		
		
		
	[chore] Refactor AP authentication, other small bits of tidying up (#1874)
This commit is contained in:
		
					parent
					
						
							
								433b56d2f9
							
						
					
				
			
			
				commit
				
					
						24fbdf2b0a
					
				
			
		
					 38 changed files with 1280 additions and 996 deletions
				
			
		|  | @ -30,7 +30,7 @@ import ( | |||
| // InboxPOSTHandler deals with incoming POST requests to an actor's inbox. | ||||
| // Eg., POST to https://example.org/users/whatever/inbox. | ||||
| func (m *Module) InboxPOSTHandler(c *gin.Context) { | ||||
| 	_, err := m.processor.Fedi().InboxPost(apiutil.TransferSignatureContext(c), c.Writer, c.Request) | ||||
| 	_, err := m.processor.Fedi().InboxPost(c.Request.Context(), c.Writer, c.Request) | ||||
| 	if err != nil { | ||||
| 		errWithCode := new(gtserror.WithCode) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue