fix(lottransfer): error in timing it would only allow for a 3min window
This commit is contained in:
@@ -55,7 +55,7 @@ export const consumeMaterial = async (data: Data) => {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
});
|
||||
//console.log(results);
|
||||
|
||||
const { data: commandL, error: ce } = await tryCatch(
|
||||
db.insert(commandLog).values({
|
||||
commandUsed: "consumeMaterial",
|
||||
@@ -68,6 +68,7 @@ export const consumeMaterial = async (data: Data) => {
|
||||
status: results.status,
|
||||
};
|
||||
} catch (error: any) {
|
||||
console.log(error);
|
||||
return {
|
||||
success: false,
|
||||
status: 200,
|
||||
|
||||
Reference in New Issue
Block a user