Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed ff_rosters() franchise_id for sleeper #436

Merged
merged 4 commits into from
Sep 9, 2024
Merged

fixed ff_rosters() franchise_id for sleeper #436

merged 4 commits into from
Sep 9, 2024

Conversation

jak3sch
Copy link
Contributor

@jak3sch jak3sch commented Sep 6, 2024

closes #435

  • replaced roster_id with owner_id from sleeper api

idk if it's the way you want to go. maybe add a second column istead of replace the old one? but i think that would not be coherent with the other platforms.

- replaced roster_id with owner_id from sleeper api
@tanho63 tanho63 changed the title fixed ff_rosters() franchise_id for sleeper #435 fixed ff_rosters() franchise_id for sleeper #4 Sep 6, 2024
@tanho63 tanho63 changed the title fixed ff_rosters() franchise_id for sleeper #4 fixed ff_rosters() franchise_id for sleeper Sep 6, 2024
@tanho63
Copy link
Member

tanho63 commented Sep 6, 2024

Hmm. I don’t think this is the way to go, the roster id is needed in a couple of other places. I think you actually want to modify the sleeper_userleagues() function to have both roster id and owner id as columns

@jak3sch
Copy link
Contributor Author

jak3sch commented Sep 9, 2024

okay, I added a new column roster_id to the output of sleeper_userleagues()

image

Technically the colname "franchise_id" is wrong, since it's actually the owner id. But I didn't changed it yet, because of compatibility.

@tanho63
Copy link
Member

tanho63 commented Sep 9, 2024

Thanks, that looks good! Can you bump the version number in DESCRIPTION and add a bullet to NEWS.md? I'll run the CI checks after that

@jak3sch
Copy link
Contributor Author

jak3sch commented Sep 9, 2024

Done!

@tanho63 tanho63 merged commit 72cba2d into ffverse:main Sep 9, 2024
0 of 7 checks passed
@tanho63
Copy link
Member

tanho63 commented Sep 9, 2024

Thanks! Will address test failures separately.

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.

ff_rosters() for sleeper returns roster_id instead of owner_id as franchise_id
2 participants