We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think the api has changed, and no longer needs a hashed array of emails. For example, the following code works now:
def use_user_image!(image_hash, emails) emails = [emails] unless emails.is_a?(Array) hash = call('grav.useUserimage', :userimage => image_hash, :addresses => emails) expire_cache! return hash end
I would have submitted a pull request, but I didn't understand your 'dehashify_emails' method. So I've just hacked it up for now.
The text was updated successfully, but these errors were encountered:
This is resolved in 51bfaef, #3.
Sorry, something went wrong.
No branches or pull requests
I think the api has changed, and no longer needs a hashed array of emails. For example, the following code works now:
def use_user_image!(image_hash, emails)
emails = [emails] unless emails.is_a?(Array)
hash = call('grav.useUserimage', :userimage => image_hash, :addresses => emails)
expire_cache!
return hash
end
I would have submitted a pull request, but I didn't understand your 'dehashify_emails' method. So I've just hacked it up for now.
The text was updated successfully, but these errors were encountered: