Skip to content

Commit df089b8

Browse files
authored
Merge pull request #643 from Iterable/evan/MOB-6284-endpoint-fixes
[MOB-6284] endpoint fixes
2 parents 28032c3 + 915fd04 commit df089b8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

swift-sdk/Constants.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ enum JsonValue {
268268
}
269269

270270
enum IterableDataRegion {
271-
static let US = "https://api.iterable.com"
272-
static let EU = "https://api.eu.iterable.com"
271+
static let US = "https://api.iterable.com/api/"
272+
static let EU = "https://api.eu.iterable.com/api/"
273273
}
274274

275275
public protocol JsonValueRepresentable {

tests/unit-tests/IterableAPITests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class IterableAPITests: XCTestCase {
1111
private static let apiKey = "zeeApiKey"
1212
private static let email = "[email protected]"
1313
private static let userId = "testUserId"
14-
private static let apiEndPointUS = "https://api.iterable.com"
15-
private static let apiEndPointEU = "https://api.eu.iterable.com"
14+
private static let apiEndPointUS = "https://api.iterable.com/api/"
15+
private static let apiEndPointEU = "https://api.eu.iterable.com/api/"
1616

1717
override func setUp() {
1818
super.setUp()

0 commit comments

Comments
 (0)