Skip to content

Commit

Permalink
updated function docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
flutistar committed Jan 10, 2025
1 parent 8fd778f commit 4a576bd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions auth-web/src/services/business.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,10 @@ export default class BusinessService {
}

/**
* Downloads a document from Legal API and prompts browser to open/save it.
* Get download url from Document Record Service
* @param documentServiceId the unique id on Document Record Service
* @param documentName the document filename
* @returns a promise to return the axios response or the error response
* @see CommonUtils.fileDownload() for a similar method
* @param documentClass the document class defined for the document service. e.g. 'CORP'
* @returns a promise to return the string of file download.
*/
static async getDownloadUrl (documentKey: string, documentClass: string): Promise<string> {
// safety checks
Expand Down

0 comments on commit 4a576bd

Please sign in to comment.