Skip to content

Commit

Permalink
Merge pull request #1844 from codefori/fix/optional_member_parm
Browse files Browse the repository at this point in the history
`getTable` API: Make member optional
  • Loading branch information
sebjulliand authored Feb 15, 2024
2 parents a3f0c15 + 51c00cc commit 4a4ad87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/IBMiContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export default class IBMiContent {
* @param member Will default to file provided
* @param deleteTable Will delete the table after download
*/
async getTable(library: string, file: string, member: string, deleteTable?: boolean): Promise<Tools.DB2Row[]> {
async getTable(library: string, file: string, member?: string, deleteTable?: boolean): Promise<Tools.DB2Row[]> {
if (!member) member = file; //Incase mbr is the same file

if (file === member && this.config.enableSQL) {
Expand Down

0 comments on commit 4a4ad87

Please sign in to comment.