Integration tests #3
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -6,7 +6,7 @@ from redis.asyncio import Redis | |||
| 
 | ||||
| from pssecret.models import Secret, SecretSaveResult | ||||
| from pssecret.redis_db import get_redis | ||||
| from pssecret.utils import save_secret_data | ||||
| from pssecret.utils import save_secret | ||||
| 
 | ||||
| app = FastAPI() | ||||
| 
 | ||||
|  | @ -25,7 +25,7 @@ RedisDep = Annotated[Redis, Depends(get_redis)] | |||
| ) | ||||
| async def set_secret(data: Secret, redis: RedisDep) -> dict[str, str]: | ||||
|     return { | ||||
|         "key": await save_secret_data(data, redis), | ||||
|         "key": await save_secret(data, redis), | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue