Skip to content

Commit d59e114

Browse files
CLDSRV-839: Rename website operations
From REST.*.WEBSITE => WEBSITE.*.OBJECT
1 parent 9dbcf8d commit d59e114

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/utilities/serverAccessLogger.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,13 @@ function getOperation(req) {
295295
if (req.apiMethod === 'objectPutCopyPart') {
296296
return 'REST.COPY.PART';
297297
}
298+
// Special handling for website operations
299+
if (req.apiMethod === 'websiteGet') {
300+
return 'WEBSITE.GET.OBJECT';
301+
}
302+
if (req.apiMethod === 'websiteHead') {
303+
return 'WEBSITE.HEAD.OBJECT';
304+
}
298305

299306
if (!resourceType) {
300307
// Only emit a warning if apiMethod is not undefined, meaning request is valid.

0 commit comments

Comments
 (0)