Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Acconut committed Nov 25, 2024
1 parent 9e4c337 commit a12d2a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Transloadit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,8 @@ export class Transloadit {
* Construct a signed Smart CDN URL. See https://transloadit.com/docs/topics/signature-authentication/#smart-cdn.
*/
getSignedSmartCDNUrl(opts: SmartCDNUrlOptions): string {
if (opts.workspace == null || opts.workspace === '') throw new TypeError('workspace is required')
if (opts.workspace == null || opts.workspace === '')
throw new TypeError('workspace is required')
if (opts.template == null || opts.template === '') throw new TypeError('template is required')
if (opts.input == null) throw new TypeError('input is required') // `input` can be an empty string.

Expand Down

0 comments on commit a12d2a9

Please sign in to comment.