v1 is gone

Stephen Paul Weber created

Change summary

lib/api.rb | 8 --------
1 file changed, 8 deletions(-)

Detailed changes

lib/api.rb 🔗

@@ -18,8 +18,6 @@ class API
 	def self.api_version(customer)
 		REDIS.lindex("catapult_cred-#{customer.jid}", 0).then do |api|
 			case api
-			when CONFIG.dig(:catapult, :user)
-				V1.new
 			when CONFIG.dig(:creds, :account)
 				V2.new
 			else
@@ -28,12 +26,6 @@ class API
 		end
 	end
 
-	class V1 < API
-		def to_s
-			"v1"
-		end
-	end
-
 	class V2 < API
 		def to_s
 			"v2"