Skip to content

Commit 0bf4604

Browse files
committed
fix: place the network-only option in the right place
1 parent 7fb8e50 commit 0bf4604

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/api/utils.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ export const getClient = (endpoint: string) => {
99
client = new Client({
1010
url: endpoint,
1111
exchanges: [cacheExchange, fetchExchange],
12-
fetchOptions: {
13-
requestPolicy: 'network-only',
14-
},
12+
requestPolicy: "network-only",
1513
});
1614
clients.set(endpoint, client);
1715
}

0 commit comments

Comments
 (0)