Skip to content

Commit a90478c

Browse files
committed
[nit] Break up User Executor code
* swiftlint error: Type Body Length Violation: Type body should span 350 lines or less excluding comments and whitespace: currently spans 354 lines (type_body_length) * No logic changes in this commit, only split up executing requests code into an extension
1 parent ca7fafa commit a90478c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

iOS_SDK/OneSignalSDK/OneSignalUser/Source/Executors/OSUserExecutor.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,10 @@ class OSUserExecutor {
196196
}
197197
}
198198
}
199+
}
199200

201+
// MARK: - Execution
202+
extension OSUserExecutor {
200203
// We will pass minimal properties to this request
201204
static func createUser(_ user: OSUserInternal) {
202205
let originalPushToken = user.pushSubscriptionModel.address

0 commit comments

Comments
 (0)