We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7e7c1b + 100db97 commit 4ffffc6Copy full SHA for 4ffffc6
OpenAPI/kiota/middleware.md
@@ -38,7 +38,7 @@ public class SaveRequestHandler : DelegatingHandler
38
```typescript
39
export class SaveRequestHandler implements Middleware {
40
next: Middleware | undefined;
41
- public execute(url: string, requestInit: RequestInit, requestOptions?: Record<string, RequestOption>): Promise<Response> {
+ public async execute(url: string, requestInit: RequestInit, requestOptions?: Record<string, RequestOption>): Promise<Response> {
42
console.log(`Request: ${requestInit.body}`);
43
return await this.next?.execute(url, requestInit as RequestInit, requestOptions);
44
}
0 commit comments