Skip to content

Commit

Permalink
not async
Browse files Browse the repository at this point in the history
  • Loading branch information
leoloso committed Mar 26, 2024
1 parent 514e8bf commit b7f39f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* getProvider
*/

export async function getProvider() {
export function getProvider() {
const providers = ['wpgraphql', 'gatographql'];
const defaultProvider = 'wpgraphql';
const selectedProvider = (process.env.WORDPRESS_GRAPHQL_PROVIDER || '').toLowerCase();
Expand Down

0 comments on commit b7f39f2

Please sign in to comment.