mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-30 18:17:55 +00:00 
			
		
		
		
	 a9e6704267
			
		
	
	a9e6704267
	
	
	
		
			
			* don't update the passed object directly fixes deprecation https://deprecations.emberjs.com/id/setting-on-hash * replace hasRecordForId with peekRecord -- ember-data:deprecate-has-record-for-id * fix deprecation ember-data:deprecate-has-record-for-id * update deprecation workflow
		
			
				
	
	
		
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			301 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /**
 | |
|  * Copyright (c) HashiCorp, Inc.
 | |
|  * SPDX-License-Identifier: BUSL-1.1
 | |
|  */
 | |
| 
 | |
| import Model, { belongsTo } from '@ember-data/model';
 | |
| 
 | |
| export default Model.extend({
 | |
|   backend: belongsTo('auth-method', {
 | |
|     inverse: 'authConfigs',
 | |
|     readOnly: true,
 | |
|     async: false,
 | |
|     as: 'auth-config',
 | |
|   }),
 | |
| });
 |