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

Fix documentation #22

Closed
Dwynr opened this issue Nov 24, 2021 · 1 comment
Closed

Fix documentation #22

Dwynr opened this issue Nov 24, 2021 · 1 comment

Comments

@Dwynr
Copy link

Dwynr commented Nov 24, 2021

You might want to fix the documentation.

The "savePhotos|Videos|Gif()" function now takes an object as the album parameter, not a string anymore.

before

Media.savePhoto({
    path: "<path>",
    album: "<albumId/name>"
})

now

Media.savePhoto({
    path: "<path>",
    album: {
        id: "<albumId>",
        name: "<albumName>"
    }
})
@Dwynr
Copy link
Author

Dwynr commented Nov 24, 2021

Nevermind, I was using a different fork. Closing.

@Dwynr Dwynr closed this as completed Nov 24, 2021
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

No branches or pull requests

1 participant