Code Review Formatting

This commit is contained in:
Valere 2021-06-15 11:22:44 +02:00
parent 88119a15bf
commit 9190e1bfb5

View file

@ -58,8 +58,13 @@ class CreateSpaceViewModelTask @Inject constructor(
override suspend fun execute(params: CreateSpaceTaskParams): CreateSpaceTaskResult { override suspend fun execute(params: CreateSpaceTaskParams): CreateSpaceTaskResult {
val spaceID = try { val spaceID = try {
session.spaceService().createSpace(params.spaceName, params.spaceTopic, params.spaceAvatar, session.spaceService().createSpace(
params.isPublic, params.spaceAlias) params.spaceName,
params.spaceTopic,
params.spaceAvatar,
params.isPublic,
params.spaceAlias
)
} catch (failure: Throwable) { } catch (failure: Throwable) {
return CreateSpaceTaskResult.FailedToCreateSpace(failure) return CreateSpaceTaskResult.FailedToCreateSpace(failure)
} }