Skip to content

Commit

Permalink
fix(fastify): Make versioningOptions field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Fcmam5 committed May 6, 2024
1 parent c0af8af commit eaf9dc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/platform-fastify/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class FastifyAdapter<

private _isParserRegistered: boolean;
private isMiddieRegistered: boolean;
private versioningOptions: VersioningOptions;
private versioningOptions?: VersioningOptions;
private readonly versionConstraint = {
name: 'version',
validate(value: unknown) {
Expand Down
Binary file not shown.

0 comments on commit eaf9dc7

Please sign in to comment.