We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f37c72 commit 0462372Copy full SHA for 0462372
src-cljs/frontend/api/path.cljs
@@ -1,14 +1,14 @@
1
(ns frontend.api.path
2
(:require [goog.string :as gstring]))
3
4
-(defn base-project-url-path [vcs-type]
+(defn- base-project-url-path [vcs-type]
5
(case vcs-type
6
"bitbucket" (gstring/format
7
"/api/dangerzone/project/%s"
8
vcs-type)
9
"github" "/api/v1/project"))
10
11
-(defn organization [vcs-type org-name]
+(defn- base-organization-url-path [vcs-type org-name]
12
(gstring/format "/api/v1.1/%s/%s"
13
(or vcs-type "github")))
14
@@ -80,7 +80,7 @@
80
81
(defn organization-invite [vcs-type org-name]
82
(gstring/format "%s/invite"
83
- (organization vcs-type org-name)))
+ (base-organization-url-path vcs-type org-name)))
84
85
(defn build-retry [vcs-type org-name repo-name build-num]
86
(gstring/format
0 commit comments