Skip to content

Commit

Permalink
refactor redirectFromGetStarted resolver to be more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
rachellerathbone committed Dec 12, 2023
1 parent bd9e5f7 commit 6f4f6a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { extractAppIdFromLocalId } from './extract-app-id-from-local-id';

export type RedirectFromGetStarted = {
export type FetchAppDataProps = {
siteUrl: string,
appId: string,
environmentId: string,
moduleKey: string
};

const redirectFromGetStarted = (request: any): RedirectFromGetStarted => {
const fetchAppData = (request: any): FetchAppDataProps => {
const {
localId,
siteUrl,
Expand All @@ -24,4 +24,4 @@ const redirectFromGetStarted = (request: any): RedirectFromGetStarted => {
};
};

export { redirectFromGetStarted };
export { fetchAppData };

0 comments on commit 6f4f6a9

Please sign in to comment.