Skip to content

Commit

Permalink
🎨 chore: update code
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 18, 2023
1 parent a615a41 commit 3aab496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/v1/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import fetchWeather from './_utils';
import runner from './_utils';

export const config = {
runtime: 'edge',
Expand All @@ -9,7 +9,7 @@ export default async (req: Request) => {

const args = await req.json();

const result = await fetchWeather(args);
const result = await runner(args);

return new Response(JSON.stringify(result));
};

0 comments on commit 3aab496

Please sign in to comment.