Skip to content

Commit

Permalink
Add return
Browse files Browse the repository at this point in the history
  • Loading branch information
alianza committed Apr 24, 2024
1 parent 685fc17 commit 79b3e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/flatgroundtricks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async function handler(req, res) {
...flatgroundTrick,
trick: getFullTrickName(flatgroundTrick),
}));
res.status(200).json({ success: true, data });
return res.status(200).json({ success: true, data });
} catch (error) {
console.error(error);
res.status(400).json({ success: false, error: error.message });
Expand Down

0 comments on commit 79b3e54

Please sign in to comment.