fix
This commit is contained in:
		
							parent
							
								
									23810e3e1e
								
							
						
					
					
						commit
						2654936c17
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -67,7 +67,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { | ||||||
| 				active: ps.active, | 				active: ps.active, | ||||||
| 			}); | 			}); | ||||||
| 
 | 
 | ||||||
| 			this.globalEventService.publishInternalEvent('webhookUpdated', webhook); | 			const updated = await this.webhooksRepository.findOneByOrFail({ | ||||||
|  | 				id: ps.webhookId, | ||||||
|  | 			}); | ||||||
|  | 
 | ||||||
|  | 			this.globalEventService.publishInternalEvent('webhookUpdated', updated); | ||||||
| 		}); | 		}); | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue