Skip to content

fix: fixed validation of upload file response type, fixed policy of getting file(added necessary preHandlers) #139

fix: fixed validation of upload file response type, fixed policy of getting file(added necessary preHandlers)

fix: fixed validation of upload file response type, fixed policy of getting file(added necessary preHandlers) #139

Triggered via pull request June 29, 2024 16:39
Status Failure
Total duration 1m 21s
Artifacts
Build and start the app
1m 11s
Build and start the app
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Build and start the app: src/presentation/http/router/upload.ts#L165
Type '{ params: { key: { $ref: string; }; }; response: { '2xx': { description: string; properties: { fileData: { type: string; }; }; }; }; preHandler: preHandlerHookHandler<RawServerDefault, IncomingMessage, ... 5 more ..., FastifyBaseLogger>[]; }' is not assignable to type 'FastifySchema'.
Build and start the app
Process completed with exit code 2.
Build and start the app
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.