Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make calcualtion request aync #95

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Make calcualtion request aync #95

wants to merge 1 commit into from

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?

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