Skip to content

Commit 095e0f7

Browse files
committed
fixup! CLDSRV-750: replace repeated logic with standardMetadataValidateBucket
1 parent 883e0c8 commit 095e0f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api/bucketPutCors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function bucketPutCors(authInfo, request, log, callback) {
7373
}
7474
pushMetric(METRICS_ACTION, log, { authInfo, bucket: bucketName });
7575
monitoring.promMetrics('PUT', bucketName, '200', METRICS_ACTION);
76-
return callback(null);
76+
return callback(null, corsHeaders);
7777
});
7878
}
7979

0 commit comments

Comments
 (0)