Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Commit 051e76c

Browse files
author
Tomasz Kostuch
authored
Merge pull request #467 from ThermScissorpunch/patch-2
Fix typo
2 parents d6cf9f7 + c1c3061 commit 051e76c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/catalog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default ({config, db}) => async function (req, res, body) {
4242
let groupId = null
4343

4444
// Request method handling: exit if not GET or POST
45-
// Other metods - like PUT, DELETE etc. should be available only for authorized users or not available at all)
45+
// Other methods - like PUT, DELETE etc. should be available only for authorized users or not available at all)
4646
if (!(req.method === 'GET' || req.method === 'POST' || req.method === 'OPTIONS')) {
4747
throw new Error('ERROR: ' + req.method + ' request method is not supported.')
4848
}

0 commit comments

Comments
 (0)