Skip to content

Commit

Permalink
Fixed version path string in WooAPI
Browse files Browse the repository at this point in the history
Updated to v0.1.10
  • Loading branch information
Brianna Lee committed Jun 11, 2018
1 parent 0cc955f commit 56df8ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dependancies/WooOS.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "WooOS"
spec.version = "0.1.9"
spec.version = "0.1.10"
spec.summary = "Cross-platform Swift SDK for WooCommerce"
spec.homepage = "https://github.com/bornbrie/WooOS"
spec.license = { type: 'MIT', file: 'LICENSE' }
Expand Down
2 changes: 1 addition & 1 deletion WooOS/WooAPI/WooAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class WooAPI {
// ------------------------

/// Current version of the WooCommerce REST API. Used to concatenate the url path.
static let version = "wp-json/wc/v2/"
static let version = "wp-json/wc/v2"

/// The slug used to obtain the token with a valid username and password.
static let tokenSlug = "jwt-auth/v1/token"
Expand Down

0 comments on commit 56df8ab

Please sign in to comment.