Skip to content

Commit

Permalink
Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
domwebber committed Nov 20, 2024
1 parent efcbf63 commit 043ce4e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@
"access": "public",
"provenance": true
}
}
}
10 changes: 8 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ mediaCommand
WHATSAPP_ACCESS_TOKEN,
)
.action(async (mediaID, options) => {
const result = await sdk.media.delete({ mediaID, phoneNumberID: options.phoneNumberId });
const result = await sdk.media.delete({
mediaID,
phoneNumberID: options.phoneNumberId,
});
console.log(await result.json());
});

Expand All @@ -70,7 +73,10 @@ mediaCommand
WHATSAPP_ACCESS_TOKEN,
)
.action(async (mediaID, options) => {
const result = await sdk.media.getURL({ mediaID, phoneNumberID: options.phoneNumberId });
const result = await sdk.media.getURL({
mediaID,
phoneNumberID: options.phoneNumberId,
});
console.log(await result.json());
});

Expand Down
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@
"sourceMap": true,
"declarationDir": "dist/"
},
"include": [
"src/**/*"
]
}
"include": ["src/**/*"]
}

0 comments on commit 043ce4e

Please sign in to comment.