adding external call for preview URL

This commit is contained in:
Martin McKeaveney 2022-06-28 19:26:59 +01:00
parent 477e52f1eb
commit 3f26814f39
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ export const buildOtherEndpoints = API => ({
checkBetaAccess: async email => {
return await API.get({
url: `${process.env.FEATURE_PREVIEW_URL}/api/beta/access?email=${email}`,
external: true,
})
},
})