Skip to content

Commit

Permalink
fix: 🚑 token data related changes
Browse files Browse the repository at this point in the history
token data related changes

Ref #no-ref
  • Loading branch information
techoneel committed Nov 12, 2024
1 parent 7d84076 commit a178aae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions service/functions/datamanagement.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const updateStringValue = async (databaseProvider:any, req:any) => {
"StringValues",
{
_status: "inactive",
updatedBy: req.user.userId,
updatedBy: req.user.userID,
},
{
where: {
Expand All @@ -60,8 +60,8 @@ const updateStringValue = async (databaseProvider:any, req:any) => {
{
...freshData,
_status: "active",
createdBy: req.user.userId,
updatedBy: req.user.userId,
createdBy: req.user.userID,
updatedBy: req.user.userID,
},
{
transaction: t,
Expand Down Expand Up @@ -94,12 +94,12 @@ async function createStringValue(req:any) {
await databaseActions.create("application","StringValues",{
...req.body,
_status: "active",
createdBy: req.user.userId,
updatedBy: req.user.userId,
createdBy: req.user.userID,
updatedBy: req.user.userID,
});
}




export {updateStringValue, createStringValue};
export { createStringValue, updateStringValue };

0 comments on commit a178aae

Please sign in to comment.