Skip to content

Commit

Permalink
don't provide default suiteurl uri, require it to be defined
Browse files Browse the repository at this point in the history
  • Loading branch information
rodnaph committed Jan 6, 2014
1 parent ab31c26 commit 719e53a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sweettalk/config.clj
Expand Up @@ -4,7 +4,7 @@

(def config (confo :st
;; netsuite
:ws-url "https://webservices.sandbox.netsuite.com"
:ws-url nil
:ws-connections 1
;; http server
:http-port 8080
Expand All @@ -16,3 +16,6 @@
:statsd-host "localhost"
:statsd-port 8125))

(if (not (:ws-url config))
(throw (Exception. "You need to define ST_WS_URL")))

0 comments on commit 719e53a

Please sign in to comment.