Skip to content

Commit 0462372

Browse files
committed
Rename organization path for consistency
1 parent 4f37c72 commit 0462372

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src-cljs/frontend/api/path.cljs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
(ns frontend.api.path
22
(:require [goog.string :as gstring]))
33

4-
(defn base-project-url-path [vcs-type]
4+
(defn- base-project-url-path [vcs-type]
55
(case vcs-type
66
"bitbucket" (gstring/format
77
"/api/dangerzone/project/%s"
88
vcs-type)
99
"github" "/api/v1/project"))
1010

11-
(defn organization [vcs-type org-name]
11+
(defn- base-organization-url-path [vcs-type org-name]
1212
(gstring/format "/api/v1.1/%s/%s"
1313
(or vcs-type "github")))
1414

@@ -80,7 +80,7 @@
8080

8181
(defn organization-invite [vcs-type org-name]
8282
(gstring/format "%s/invite"
83-
(organization vcs-type org-name)))
83+
(base-organization-url-path vcs-type org-name)))
8484

8585
(defn build-retry [vcs-type org-name repo-name build-num]
8686
(gstring/format

0 commit comments

Comments
 (0)