Skip to content

Commit f2b2bff

Browse files
committed
lint fix
1 parent 9a1a626 commit f2b2bff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/httpRoutes/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { hasP2PInterface } from '../../utils/config.js'
77
import { validateCommandParameters } from './validateCommands.js'
88
import { Readable } from 'stream'
99

10-
async function mapChunkToBuffer(chunk: any): Promise<Buffer | Uint8Array> {
10+
function mapChunkToBuffer(chunk: any): Buffer | Uint8Array {
1111
if (typeof chunk === 'string') {
1212
return Buffer.from(chunk)
1313
}

0 commit comments

Comments
 (0)