Open kkatusic opened 1 week ago
The primary changes involve updating the handling of the PROJECT_VERIFICATION_STEPS.SUBMIT
step in the updateProjectVerificationFormByUser
function within the projectVerificationFormService.ts
file. Specifically, it adds calls to updateManagingFundsOfProjectVerification
with data from findProjectVerificationFormById
, thereby enhancing the data processing before submission.
Files | Summary |
---|---|
src/.../projectVerificationFormService.ts |
Enhanced updateProjectVerificationFormByUser to call findProjectVerificationFormById and process data before invoking updateManagingFundsOfProjectVerification for PROJECT_VERIFICATION_STEPS.SUBMIT . |
sequenceDiagram
participant User
participant ProjectVerificationFormService
participant Database
User->>ProjectVerificationFormService: updateProjectVerificationFormByUser(step)
alt step is SUBMIT
ProjectVerificationFormService->>Database: findProjectVerificationFormById
Database-->>ProjectVerificationFormService: return form data
ProjectVerificationFormService->>ProjectVerificationFormService: process data
ProjectVerificationFormService->>ProjectVerificationFormService: updateManagingFundsOfProjectVerification(form)
ProjectVerificationFormService->>ProjectVerificationFormService: submitProjectVerificationForm(form)
end
ProjectVerificationFormService-->>User: verification form submitted successfully
In code we trust, we do commit, With forms to verify and submit. Data fetched, processed, and aligned, 🐇 CodeRabbit sings, enhancements combined! Now projects flow, smooth and bright, Happy devs coding through the night. 🌙
[!TIP]
AI model upgrade
## `gpt-4o` model for reviews and chat is now live OpenAI claims that this model is better at understanding and generating code than the previous models. Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide any feedback or to report any issues.
Thanks @kkatusic. Approved!
I think there's a typo in
getdProjectVerificationData
@RamRamez you are right, fixed, thx you for all help
Thanks @kkatusic
@RamRamez it's not passing test, can you see error?
@kkatusic lots of tests are failing, I think it's not related to your PR because staging is also failing. @mohammadranjbarz do you know what's the problem?
@RamRamez I added additional step for submiting verifiacation. Didn't find any test related to this part of code, correct me if I'm wrong.
Please can you check code and let me know, thx ;)
Summary by CodeRabbit