Skip to content

Commit

Permalink
use Option.Wiki.GetWikiParams
Browse files Browse the repository at this point in the history
  • Loading branch information
mmktomato committed Dec 28, 2020
1 parent 576e789 commit 6d14682
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/backlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ var Backlog = (function (_super) {
Backlog.prototype.unlinkIssueSharedFile = function (issueIdOrKey, id) {
return this.delete("issues/" + issueIdOrKey + "/sharedFiles/" + id);
};
Backlog.prototype.getWikis = function (projectIdOrKey) {
return this.get("wikis", { projectIdOrKey: projectIdOrKey });
Backlog.prototype.getWikis = function (params) {
return this.get("wikis", params);
};
Backlog.prototype.getWikisCount = function (projectIdOrKey) {
return this.get("wikis/count", { projectIdOrKey: projectIdOrKey });
Expand Down
2 changes: 1 addition & 1 deletion dist/backlog.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/backlog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,8 @@ export default class Backlog extends Request {
/**
* 88: https://developer.nulab-inc.com/ja/docs/backlog/api/2/get-wiki-page-list/
*/
public getWikis(projectIdOrKey: number): Promise<any> {
return this.get(`wikis`, { projectIdOrKey });
public getWikis(params: Option.Wiki.GetWikiParams): Promise<any> {
return this.get(`wikis`, params);
}

/**
Expand Down

0 comments on commit 6d14682

Please sign in to comment.