Skip to content

Commit

Permalink
Update lib/ldp.js
Browse files Browse the repository at this point in the history
Co-authored-by: Ted Thibodeau Jr <[email protected]>
  • Loading branch information
bourgeoa and TallTed authored Dec 27, 2023
1 parent 8018f1f commit 057157b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldp.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ class LDP {

let itemName = slug.endsWith(extension) || slug.endsWith(this.suffixAcl) || slug.endsWith(this.suffixMeta) ? slug : slug + extension
try {
// check resource exists
// check whether resource exists
const context = container ? '/' : ''
await this.resourceMapper.mapUrlToFile({ url: (requestUrl + itemName + context) })
itemName = `${uuid.v1()}-${itemName}`
Expand Down

0 comments on commit 057157b

Please sign in to comment.