Skip to content

Commit

Permalink
refactor: Update resource parameter in getZenlessData function
Browse files Browse the repository at this point in the history
This commit updates the resource parameter in the getZenlessData function in the disk-drives page. It changes the value from "diskDrives" to "disk-drives" to align with the API endpoint. This modification ensures that the correct data is fetched from the Zenless API and improves the accuracy of the displayed disk drives information.
  • Loading branch information
dvaJi committed Jul 22, 2024
1 parent a782765 commit bba901b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[lang]/zenless/disk-drives/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const metadata: Metadata = {

export default async function BangboosPage() {
const data = await getZenlessData<DiskDrives[]>({
resource: "diskDrives",
resource: "disk-drives",
});
return (
<div className="relative z-0">
Expand Down

0 comments on commit bba901b

Please sign in to comment.