Skip to content

Commit

Permalink
Allow OPTIONS method in HTTP queries (#3308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Mar 25, 2024
1 parent 57b8ed6 commit 08fe438
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ import useFetchPrivate from '../useFetchPrivate';
import QueryPreview from '../QueryPreview';
import { usePrivateQuery } from '../context';

const HTTP_METHODS = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD'];
const HTTP_METHODS = ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'HEAD', 'OPTIONS'];

const QUERY_SCOPE_META: ScopeMeta = {
parameters: {
Expand Down

0 comments on commit 08fe438

Please sign in to comment.