Skip to content

Fix passing Fastify options#691

Open
frodoe7 wants to merge 1 commit intofastify:mainfrom
frodoe7:patch-1
Open

Fix passing Fastify options#691
frodoe7 wants to merge 1 commit intofastify:mainfrom
frodoe7:patch-1

Conversation

@frodoe7
Copy link

@frodoe7 frodoe7 commented Jan 2, 2024

Checklist

Signed-off-by: Ahmed Mohsen <ahmed.yalahwy@gmail.com>
@frodoe7 frodoe7 mentioned this pull request Jan 2, 2024
2 tasks
}

if (opts.options && file.options) {
if (opts.options || file.options) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is absolutely a wrong fix.
The opts.options expected to be true in order to allow file options.
It is the documented behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants