Skip to content

Make calcualtion request aync#95

Open
AlecErasmus wants to merge 1 commit intomainfrom
feat/smart-ec2
Open

Make calcualtion request aync#95
AlecErasmus wants to merge 1 commit intomainfrom
feat/smart-ec2

Conversation

@AlecErasmus
Copy link
Contributor

Make it possible to turn off the ec2 backend buy moving the request creation from cred-manager to backend

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?

@vercel
Copy link

vercel bot commented Apr 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
armitage-dashboard ✅ Ready (Inspect) Visit Preview Apr 1, 2024 3:54pm

const contributionRequest = await createContributionRequest(
teamId,
session.accessToken!,
session!.user!.email!,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's check that the session.user exist with an if condition, using "!" on the backend could cause several issues

Comment on lines 27 to 28
return NextResponse.json({
success: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we double check if no api query handler is using the userCredDtos[] field on the api response?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants