Skip to content

Commit

Permalink
remove todo statements, moved to issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Grant Winney committed Feb 19, 2018
1 parent d3c2cd8 commit bfd7f83
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions GhostSharp/GhostAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ public AuthToken GetAuthToken(string clientId, string clientSecret, string usern
return Execute<AuthToken>(request);
}

// todo: Add the ability to refresh token? reuse above call?

/// <summary>
/// If there's an auth token available, attach it to the request.
/// Otherwise, attach the client id and secret.
Expand Down
2 changes: 0 additions & 2 deletions GhostSharp/GhostAPIGet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ public TagResponse GetTags(TagQueryParams queryParams = null)
/// <param name="include">count.posts (I have no idea what this is for; not documented)</param>
public Tag GetTagById(string id, TagQueryParams queryParams = null)
{
// todo: need to support count.posts, which returns a count of posts with the tag (https://api.ghost.org/docs/tag)

var request = new RestRequest($"tags/{id}", Method.GET);

AppendSecurity(request);
Expand Down
6 changes: 1 addition & 5 deletions GhostSharp/GhostAPIPost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ public partial class GhostAPI
/// </remarks>
/// <param name="post">The post to create.</param>
public Post CreatePost(Post post)
{
// todo: support multiple posts at once?

// todo: create interfaces for everything

{
var request = new RestRequest("posts", Method.POST);

AppendSecurity(request);
Expand Down

0 comments on commit bfd7f83

Please sign in to comment.