Skip to content

Commit 4ffffc6

Browse files
authored
Merge pull request #196 from MicrosoftDocs/main
Merge main to live
2 parents b7e7c1b + 100db97 commit 4ffffc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OpenAPI/kiota/middleware.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class SaveRequestHandler : DelegatingHandler
3838
```typescript
3939
export class SaveRequestHandler implements Middleware {
4040
next: Middleware | undefined;
41-
public execute(url: string, requestInit: RequestInit, requestOptions?: Record<string, RequestOption>): Promise<Response> {
41+
public async execute(url: string, requestInit: RequestInit, requestOptions?: Record<string, RequestOption>): Promise<Response> {
4242
console.log(`Request: ${requestInit.body}`);
4343
return await this.next?.execute(url, requestInit as RequestInit, requestOptions);
4444
}

0 commit comments

Comments
 (0)