Skip to content
Merged

4.1 #195

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ NotificationSettings
PagesDomains
Search
SidekiqMetrics
Snippets
SystemHooks
Version
Wikis
Expand Down
126 changes: 71 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"husky": "^0.14.3",
"cz-conventional-changelog": "^2.1.0",
"jest": "^23.5.0",
"jest-extended": "^0.8.1",
"jest-extended": "^0.9.0",
"jest-tap-reporter": "^1.9.0",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
Expand Down
2 changes: 1 addition & 1 deletion src/infrastructure/RequestHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class RequestHelper {
}

static get(service, endpoint, options = {}, { stream = false } = {}) {
return RequestHelper.request('get', service, endpoint, options, stream);
return RequestHelper.request('get', service, endpoint, options, false, stream);
}

static post(service, endpoint, options = {}, form = false) {
Expand Down
9 changes: 9 additions & 0 deletions src/services/Markdown.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { BaseService, RequestHelper } from '../infrastructure';

class Markdown extends BaseService {
render(text, options) {
return RequestHelper.post(this, 'markdown', { text, ...options });
}
}

export default Markdown;
Loading