fix: fixed validation of upload file response type, fixed policy of getting file(added necessary preHandlers) #139
run-build-and-start-check.yml
on: pull_request
Build and start the app
1m 11s
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/.
|