From 06f7d9193d60d5aa77b5251b717a4f9d2a5850f0 Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 5 Jun 2024 14:39:56 +0200 Subject: [PATCH] cleanup --- LeStorage/Services.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LeStorage/Services.swift b/LeStorage/Services.swift index cde7f94..139bf1b 100644 --- a/LeStorage/Services.swift +++ b/LeStorage/Services.swift @@ -278,9 +278,7 @@ public class Services { /// - Parameters: /// - user: A user instance to send to the server public func createAccount(user: U) async throws -> V { - let response: V = try await _runRequest(serviceConf: .createAccount, payload: user) -// Store.main.setUserName(user.username) - return response + return try await _runRequest(serviceConf: .createAccount, payload: user) } /// Requests a token for a username and password