fix(silo commits): added in email that was now missing due to new authj
This commit is contained in:
@@ -44,6 +44,7 @@ export default function SiloCard(data: any) {
|
|||||||
warehouseId: silo.WarehouseID,
|
warehouseId: silo.WarehouseID,
|
||||||
laneId: silo.LocationID,
|
laneId: silo.LocationID,
|
||||||
username: session?.user.username,
|
username: session?.user.username,
|
||||||
|
email: session?.user.email,
|
||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -44,7 +44,10 @@ app.openapi(
|
|||||||
try {
|
try {
|
||||||
try {
|
try {
|
||||||
//return apiReturn(c, true, access?.message, access?.data, 200);
|
//return apiReturn(c, true, access?.message, access?.data, 200);
|
||||||
const createSiloAdj = await createSiloAdjustment(data, data.username);
|
const createSiloAdj = await createSiloAdjustment(data, {
|
||||||
|
username: data.username,
|
||||||
|
email: data.email,
|
||||||
|
});
|
||||||
|
|
||||||
return c.json(
|
return c.json(
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user