Skip to content

Commit

Permalink
PR review code change to remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
TyroneAEM committed Feb 26, 2024
1 parent 495779c commit a105b10
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scripts/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ export async function getCollection(collectionId) {
responseBody.etag = response.headers.get('Etag');
if (responseBody.self[0].collectionMetadata.title) {
responseBody.title = responseBody.self[0].collectionMetadata?.title ?? '';
} else {
responseBody.title = '';
}

return responseBody;
Expand Down

0 comments on commit a105b10

Please sign in to comment.