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

Bug when creating articles #68

Open
hilewhousels1 opened this issue Jun 26, 2016 · 1 comment
Open

Bug when creating articles #68

hilewhousels1 opened this issue Jun 26, 2016 · 1 comment

Comments

@hilewhousels1
Copy link

When creating articles through your desk API, articles were created as drafts and couldn't be seen on support center even when I explicitly added :in_support_center. I had to login and manually remove the draft attribute. This bug prevents automation when creating articles.

My API usage example:

Desk.create_article(
  :subject => "subject",
  :body => "body",
  :in_support_center => true,
  :links => {
    :topic => {
       :href => "/api/v2/topics/1",
       :class => "topic"
  }
})
@chriswarren
Copy link
Owner

Sorry to hear about that - have you had a chance to look through the code and see if you could make a pull request to fix this? I'm not sure when I'll have time to work on it myself, but if you want to take a look at it that'd be awesome.

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

2 participants