Skip to content

Commit f5e7206

Browse files
change queryKey
Co-authored-by: Bruno Quaresma <bruno@coder.com>
1 parent fa39cc6 commit f5e7206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/api/queries/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const templateVersions = (templateId: string) => {
7070

7171
export const templateVersionVariables = (versionId: string) => {
7272
return {
73-
queryKey: ["templateVersionVariables", versionId],
73+
queryKey: ["templateVersion", versionId, "variables"],
7474
queryFn: () => API.getTemplateVersionVariables(versionId),
7575
};
7676
};

0 commit comments

Comments
 (0)