feat: update

parent d1a2fe14
......@@ -283,7 +283,7 @@ class SessionReplayViewSet(viewsets.ViewSet):
config = self.app.config.get("REPLAY_STORAGE", None)
if config:
for name in config.keys():
if config[name] == "s3":
if config[name].get("TYPE", '') == "s3":
client, bucket = self.s3Client(config[name])
try:
client.head_object(Bucket=bucket, Key=path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment