add audiolog
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
from layercake.dynamodb import DynamoDBCollection, DynamoDBPersistenceLayer
|
||||
|
||||
import auth as app
|
||||
from auth import _parse_bearer_token
|
||||
|
||||
@@ -33,11 +31,8 @@ def test_bearer_jwt(lambda_context: LambdaContext):
|
||||
|
||||
def test_bearer_apikey(
|
||||
dynamodb_seeds,
|
||||
dynamodb_persistence_layer: DynamoDBPersistenceLayer,
|
||||
lambda_context: LambdaContext,
|
||||
):
|
||||
app.collect = DynamoDBCollection(dynamodb_persistence_layer)
|
||||
|
||||
event = {
|
||||
'headers': {
|
||||
'authorization': 'Bearer sk-MzI1MDQ0NTctZjEzMy00YzAwLTkzNmItNmFhNzEyY2E5ZjQw',
|
||||
|
||||
Reference in New Issue
Block a user