flipt-io/flipt-client-sdks

Wrong reference query param?

Closed this issue · 3 comments

Seems like there should be reference query param instead of ref here:

https://github.com/flipt-io/flipt-client-sdks/blob/6ab80d0eabb0e7e69b3f966840f9dafc5175b376/flipt-client-browser/src/index.ts#L44C1-L45C1

if (engine_opts.reference) {
- url = `${url}?ref=${engine_opts.reference}`; // not working, still pulls main
+ url = `${url}?reference=${engine_opts.reference}`; // working as expected
}

yah you are right @AleksandrTermenzhy ! will push a fix now

Thanks for reporting @AleksandrTermenzhy ! the new version is going out now in CI