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 057157b commit a99473d
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 @@ -591,7 +591,7 @@ class LDP {
itemName = `${uuid.v1()}-${itemName}`
} catch (e) {
try {
// check resource with same name exists
// check whether resource with same name exists
const context = !container ? '/' : ''
await this.resourceMapper.mapUrlToFile({ url: (requestUrl + itemName + context) })
itemName = `${uuid.v1()}-${itemName}`
Expand Down

0 comments on commit a99473d

Please sign in to comment.