@connect-plus-online/ogabai-integrations 0.0.88 → 0.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -3813,14 +3813,12 @@ var createExpenseDispenseService = (client) => {
3813
3813
  createdById: expense.createdById
3814
3814
  }
3815
3815
  });
3816
- if (addToExpenseList) {
3817
- await expenseService.updateExpense({
3818
- expenseId,
3819
- expense: {
3820
- expenseType: "operation"
3821
- }
3822
- });
3823
- }
3816
+ await expenseService.updateExpense({
3817
+ expenseId,
3818
+ expense: {
3819
+ expenseType: addToExpenseList ? "operation" : "staffRequestFulfilled"
3820
+ }
3821
+ });
3824
3822
  return transaction || null;
3825
3823
  }
3826
3824
  };