Skip to content

Commit

Permalink
Added patch method
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-shostak committed Oct 29, 2024
1 parent b72b653 commit 80f6936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* License v3.0 only", or the "Server Side Public License, v 1".
*/

const routeMethods = ['get', 'put', 'delete', 'post'];
const routeMethods = ['get', 'put', 'delete', 'post', 'patch'];
const ACCESS_TAG_PREFIX = 'access:';

const isStringLiteral = (el) => el.type === 'Literal' && typeof el.value === 'string';
Expand Down

0 comments on commit 80f6936

Please sign in to comment.