Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Fix locale missin the url (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethella authored Jul 24, 2023
1 parent 63df253 commit c172428
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MagicSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
Pod::Spec.new do |s|
s.name = 'MagicSDK'
s.version = '9.1.0'
s.version = '9.1.1'
s.summary = 'Magic IOS SDK'

s.description = <<-DESC
Expand Down
3 changes: 2 additions & 1 deletion Sources/MagicSDK/Core/Relayer/URLBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public struct URLBuilder {
enum CodingKeys: String, CodingKey {
case apiKey = "API_KEY"
case ethNetwork = "ETH_NETWORK"
case bundleId, host, sdk
case bundleId, host, sdk, locale
}

func encode(to encoder: Encoder) throws {
Expand All @@ -74,6 +74,7 @@ public struct URLBuilder {

try container.encode(apiKey, forKey: .apiKey)
try container.encode(URLBuilder.host, forKey: .host)
try container.encode(locale, forKey: .locale)


if let node = customNode {
Expand Down

0 comments on commit c172428

Please sign in to comment.