Skip to content

Commit

Permalink
Update new_request.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Oct 15, 2024
1 parent ef6db50 commit 1894415
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/logging/new_request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import bodyPart from './generator/body_part.ts';
import footer from './generator/footer.ts';
import header from './generator/header.ts';

export default function newRequest() : void {
console.log(
header('New Request') +
bodyPart('Type: ') +
bodyPart('Type: ') +
footer()
)
export default function newRequest(requestHeader : Headers) : string {

return header('New Request') + bodyPart('Type: ') + footer()
}

0 comments on commit 1894415

Please sign in to comment.