File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
site/src/pages/WorkspaceSettingsPage/WorkspaceSchedulePage Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import {
27
27
formValuesToTTLRequest ,
28
28
} from "./formToRequest" ;
29
29
30
- const permissionChecks = ( workspace : TypesGen . Workspace ) =>
30
+ const permissionsToCheck = ( workspace : TypesGen . Workspace ) =>
31
31
( {
32
32
updateWorkspace : {
33
33
object : {
@@ -47,7 +47,7 @@ export const WorkspaceSchedulePage: FC = () => {
47
47
const queryClient = useQueryClient ( ) ;
48
48
const workspace = useWorkspaceSettings ( ) ;
49
49
const { data : permissions , error : checkPermissionsError } = useQuery (
50
- checkAuthorization ( { checks : permissionChecks ( workspace ) } ) ,
50
+ checkAuthorization ( { checks : permissionsToCheck ( workspace ) } ) ,
51
51
) ;
52
52
const { data : template , error : getTemplateError } = useQuery (
53
53
templateByName ( workspace . organization_id , workspace . template_name ) ,
You can’t perform that action at this time.
0 commit comments