Skip to content

Commit

Permalink
refactor(preview): do not use grant for internal services
Browse files Browse the repository at this point in the history
  • Loading branch information
colorfield committed Sep 30, 2024
1 parent fc19e66 commit fbe09a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/drupal/custom/custom.deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ function _custom_deploy_create_consumer(
'label' => $label,
'client_id' => $client_id,
'is_default' => FALSE,
'third_party' => FALSE,
'secret' => $clientSecret,
'redirect' => $oAuthCallback,
])->save();
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/Routes/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import React from 'react';

import { clear, useOperation } from '../../utils/operation';
import { Loading } from '../Molecules/Loading';
import { PageDisplay } from '../Organisms/PageDisplay';
import { Messages } from '../Molecules/Messages';
import { PageDisplay } from '../Organisms/PageDisplay';

function usePreviewParameters(): OperationVariables<
typeof PreviewDrupalPageQuery
Expand Down

0 comments on commit fbe09a1

Please sign in to comment.