Skip to content

Commit 6327f90

Browse files
bourgeoaTallTed
andauthored
Update lib/handlers/patch.js
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
1 parent 5f2f7d0 commit 6327f90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handlers/patch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function patchHandler (req, res, next) {
4242
// First check if the file already exists
4343
({ path, contentType } = await ldp.resourceMapper.mapUrlToFile({ url: req }))
4444
} catch (err) {
45-
// If the file doesn't exist, request one to be created with the file mime type as contentType
45+
// If the file doesn't exist, request to create one with the file media type as contentType
4646
({ path, contentType } = await ldp.resourceMapper.mapUrlToFile(
4747
{ url: req, createIfNotExists: true, contentType: contentTypeForNew(req) }))
4848
// check if a folder with same name exists

0 commit comments

Comments
 (0)