Skip to content

Commit 75c8d05

Browse files
authored
Update index.js
Signed-off-by: AV <134554554+southctrl@users.noreply.github.com>
1 parent 1703705 commit 75c8d05

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,10 @@ class NodelinkServer extends EventEmitter {
562562
}
563563

564564
if (audius?.enabled) {
565-
if (audius.appName !== undefined && typeof audius.appName !== 'string') {
565+
if (
566+
audius.appName !== undefined &&
567+
typeof audius.appName !== 'string'
568+
) {
566569
throw new Error('sources.audius.appName must be a string')
567570
}
568571
}
@@ -571,7 +574,10 @@ class NodelinkServer extends EventEmitter {
571574
throw new Error('sources.audius.apiKey must be a string')
572575
}
573576

574-
if (audius.apiSecret !== undefined && typeof audius.apiSecret !== 'string') {
577+
if (
578+
audius.apiSecret !== undefined &&
579+
typeof audius.apiSecret !== 'string'
580+
) {
575581
throw new Error('sources.audius.apiSecret must be a string')
576582
}
577583

0 commit comments

Comments
 (0)