mirror of https://github.com/docusealco/docuseal
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							13 lines
						
					
					
						
							329 B
						
					
					
				
			
		
		
	
	
							13 lines
						
					
					
						
							329 B
						
					
					
				| # frozen_string_literal: true
 | |
| 
 | |
| class TestingApiSettingsController < ApplicationController
 | |
|   def index
 | |
|     authorize!(:manage, current_user.access_token)
 | |
| 
 | |
|     @webhook_config =
 | |
|       current_account.encrypted_configs.find_or_initialize_by(key: EncryptedConfig::WEBHOOK_URL_KEY)
 | |
| 
 | |
|     authorize!(:manage, @webhook_config)
 | |
|   end
 | |
| end
 |