File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export class StackableFixture {
1717 }
1818
1919 const finishedCallback = async ( request : Request ) => {
20- if ( ( request . url ( ) . includes ( 'stackable/v3/settings' ) || request . url ( ) . includes ( 'stackable%2Fv3%2Fsettings' ) ) && request . method ( ) === 'GET' ) {
20+ if ( request . url ( ) . includes ( 'stackable/v3/settings' ) && request . method ( ) === 'GET' ) {
2121 try {
2222 let settings = null
2323 await test . step ( 'Wait for Stackable settings to load' , async ( ) => {
@@ -38,7 +38,7 @@ export class StackableFixture {
3838 }
3939 }
4040 const failedCallback = async ( request : Request ) => {
41- if ( ( request . url ( ) . includes ( 'stackable/v3/settings' ) || request . url ( ) . includes ( 'stackable%2Fv3%2Fsettings' ) ) && request . method ( ) === 'GET' ) {
41+ if ( request . url ( ) . includes ( 'stackable/v3/settings' ) && request . method ( ) === 'GET' ) {
4242 cleanup ( )
4343 throw Error ( 'Failed to get Stackable settings' )
4444 }
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export const fetchSettings = () => {
5555 if ( ! fetchingPromise ) {
5656 fetchingPromise = loadPromise . then ( async ( ) => {
5757 const response = await apiFetch ( {
58- path : ` /stackable/v3/settings` ,
58+ path : ' /stackable/v3/settings' ,
5959 method : 'GET' ,
6060 } )
6161 fetchingPromise = null
You can’t perform that action at this time.
0 commit comments