Fix: Send Email Invite
This commit is contained in:
1 parent
a77c74b17c
commit
63e42b7276
2 files changed
+3
-4
No files matched your search
@@ -8,9 +8,8 @@ import type { TooltipProps } from "recharts";
|
|||||||
import { useSelector } from "react-redux";
|
import { useSelector } from "react-redux";
|
||||||
import type { RootState } from "@/Types/state";
|
import type { RootState } from "@/Types/state";
|
||||||
|
|
||||||
interface HistogramPageSpeedScoresTooltipProps extends Partial<
|
interface HistogramPageSpeedScoresTooltipProps
|
||||||
TooltipProps<number, string>
|
extends Partial<TooltipProps<number, string>> {
|
||||||
> {
|
|
||||||
config: Record<string, ConfigItem>;
|
config: Record<string, ConfigItem>;
|
||||||
}
|
}
|
||||||
export const HistogramPageSpeedScoresTooltip = ({
|
export const HistogramPageSpeedScoresTooltip = ({
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ class InviteController {
|
|||||||
await inviteBodyValidation.validateAsync(inviteRequest);
|
await inviteBodyValidation.validateAsync(inviteRequest);
|
||||||
|
|
||||||
const inviteToken = await this.inviteService.sendInviteEmail({
|
const inviteToken = await this.inviteService.sendInviteEmail({
|
||||||
inviteRequest,
|
invite: inviteRequest,
|
||||||
firstName: req?.user?.firstName,
|
firstName: req?.user?.firstName,
|
||||||
});
|
});
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
|
|||||||
Reference in new issue
Block a user