Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Create new Sponsorships #5

Open
driesvints opened this issue Aug 21, 2021 · 0 comments
Open

Create new Sponsorships #5

driesvints opened this issue Aug 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@driesvints
Copy link
Owner

With a newly added createSponsorship mutation to the GitHub GraphQL API it should be possible to integrate this into the library.

// Make the current authenticated user sponsor the target account...
$client->sponsor('driesvints');

It's only possible of course to start sponsorships from the authenticated account. So implementations of the Sponsorable trait should have their own token set.

@driesvints driesvints added the enhancement New feature or request label Aug 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant