mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 07:06:36 +08:00
fix(frontend): correct Pages deployment files route
Align the Pages deployment file-list request with the backend route and add a regression test.
This commit is contained in:
@@ -45,7 +45,7 @@ function DeploymentFilesPanel({
|
||||
}) {
|
||||
const filesQuery = useQuery({
|
||||
queryKey: deploymentFilesQueryKey(projectId, deployment.id),
|
||||
queryFn: () => PagesService.listDeploymentFiles(projectId, deployment.id),
|
||||
queryFn: () => PagesService.listDeploymentFiles(deployment.id),
|
||||
})
|
||||
|
||||
if (filesQuery.isLoading) {
|
||||
|
||||
Reference in New Issue
Block a user