We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f2f7d0 commit 6327f90Copy full SHA for 6327f90
lib/handlers/patch.js
@@ -42,7 +42,7 @@ async function patchHandler (req, res, next) {
42
// First check if the file already exists
43
({ path, contentType } = await ldp.resourceMapper.mapUrlToFile({ url: req }))
44
} catch (err) {
45
- // If the file doesn't exist, request one to be created with the file mime type as contentType
+ // If the file doesn't exist, request to create one with the file media type as contentType
46
({ path, contentType } = await ldp.resourceMapper.mapUrlToFile(
47
{ url: req, createIfNotExists: true, contentType: contentTypeForNew(req) }))
48
// check if a folder with same name exists
0 commit comments