Skip to content

Commit 8cd7264

Browse files
committed
fix trigger routes
1 parent 8393f5b commit 8cd7264

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/logic/api/trigger.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const _extractTriggerEntity = trigger => ({
3232

3333
const getAllTypes = async () => {
3434
const RequestOptions = {
35-
url: '/api/hermes/events/types',
35+
url: '/api/hermes/types',
3636
qs: {},
3737
method: 'GET',
3838
};
@@ -50,7 +50,7 @@ const getAllTypes = async () => {
5050

5151
const getType = async (type, kind) => {
5252
const options = {
53-
url: `/api/hermes/events/types/${type}/${kind}`,
53+
url: `/api/hermes/types/${type}/${kind}`,
5454
method: 'GET',
5555
};
5656

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.8.14",
3+
"version": "0.8.15",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)