Skip to content

Commit

Permalink
Merge pull request #401 from OpenSignLabs/api-v1-beta
Browse files Browse the repository at this point in the history
fix: change doctype in get document list API
  • Loading branch information
nxglabs authored Feb 16, 2024
2 parents 7a6a543 + ff4879a commit 03750e3
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,22 @@ export default async function getDocumentList(request, response) {
const skip = request?.query?.skip ? request.query.skip : 0;
let reportId;
switch (docType) {
case 'draftdocuments':
case 'draft':
reportId = 'ByHuevtCFY';
break;
case 'signaturerequest':
reportId = '4Hhwbp482K';
break;
case 'inprogressdocuments':
case 'inprogress':
reportId = '1MwEuxLEkF';
break;
case 'completedocuments':
case 'completed':
reportId = 'kQUoW4hUXz';
break;
case 'expiredocuments':
case 'expired':
reportId = 'zNqBHXHsYH';
break;
case 'declinedocuments':
case 'declined':
reportId = 'UPr2Fm5WY3';
break;
default:
Expand Down

0 comments on commit 03750e3

Please sign in to comment.