feat: Nudge users to become template creators if eligible (#8357)
This commit is contained in:
8
packages/editor-ui/src/api/ctas.ts
Normal file
8
packages/editor-ui/src/api/ctas.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { IRestApiContext } from '@/Interface';
|
||||
import { get } from '@/utils/apiUtils';
|
||||
|
||||
export async function getBecomeCreatorCta(context: IRestApiContext): Promise<boolean> {
|
||||
const response = await get(context.baseUrl, '/cta/become-creator');
|
||||
|
||||
return response;
|
||||
}
|
||||
Reference in New Issue
Block a user