Skip to content

Commit

Permalink
Merge pull request #306 from omise/master
Browse files Browse the repository at this point in the history
Sync develop with master
  • Loading branch information
AnasNaouchi authored Nov 18, 2024
2 parents 8369b21 + 1348ca1 commit 3002aa3
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ExampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/omise/omise-ios.git";
requirement = {
branch = "feature/MIT-2470";
branch = master;
kind = branch;
};
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"originHash" : "f131717f980b1b6f5251428da012f188d1eaff4e6fa62f7a3121859345471b87",
"pins" : [
{
"identity" : "omise-ios",
"kind" : "remoteSourceControl",
"location" : "https://github.com/omise/omise-ios.git",
"state" : {
"branch" : "feature/MIT-2470",
"revision" : "4f1bbf9a0f0828c7531664276fc244fd8433a869"
"branch" : "master",
"revision" : "c54d16bd6d8f037c0bcc8da3ce0d140563134944"
}
},
{
Expand All @@ -19,5 +20,5 @@
}
}
],
"version" : 2
"version" : 3
}
2 changes: 1 addition & 1 deletion OmiseSDK/Sources/OmiseAPI/OmiseAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ enum OmiseServerType {

extension OmiseServerType {
// swiftlint:disable force_unwrapping
private var apiServerURL: String { "https://vault.omise.co" }
private var apiServerURL: String { "https://api.omise.co" }
private var vaultServerURL: String { "https://vault.omise.co" }

var url: URL {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public struct CreateSourcePayload: Equatable {
/// Current SDK platform type
let platform = "IOS"

init(amount: Int64, currency: String, details: Source.Payment) {
public init(amount: Int64, currency: String, details: Source.Payment) {
self.amount = amount
self.currency = currency
self.details = details
Expand Down

0 comments on commit 3002aa3

Please sign in to comment.