-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix(MULTIPLE-API-CALLS) merge multiple upload-api calls into one #249
base: main
Are you sure you want to change the base?
fix(MULTIPLE-API-CALLS) merge multiple upload-api calls into one #249
Conversation
@@ -44,11 +42,9 @@ import { | |||
|
|||
// Helper function for error handling | |||
import { handleError } from "shared/helper"; | |||
import messages from "../../../constants/messages"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can directly be imported like:
import messages from "constants/messages";
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure , thanks
@dushimsam can you also fix test cases |
ok , I'm on it. |
9c5c27b
to
3e1f574
Compare
tested and working perfectly. |
Signed-off-by: dushimsam <[email protected]>
3e1f574
to
cb840f6
Compare
Signed-off-by: dushimsam [email protected]
Description
Merge the create upload API and create job API into one API request.
Changes
How to test
How to test
1. Upload Request
Fill up the input details on Vcs Upload Page for the upload click the upload button
hence the request should look as follows.
2. Response
You should see this response object with the ID of the corresponding job in the message.
Related issue
closes : Shruti3004/FOSSology-REST-API#2 ,#260
cc: @shaheemazmalmmd @GMishx