Skip to content

Commit

Permalink
scalafmtAll
Browse files Browse the repository at this point in the history
  • Loading branch information
KapStorm committed Sep 29, 2023
1 parent ea19f63 commit 07b4546
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.wiringbits.api.endpoints

import net.wiringbits.api.models.*
import net.wiringbits.api.models.users.{CreateUser, ForgotPassword, GetUserLogs, ResetPassword, SendEmailVerificationToken, UpdatePassword, UpdateUser, VerifyEmail}
import net.wiringbits.api.models.users.*
import net.wiringbits.common.models.*
import sttp.tapir.*
import sttp.tapir.json.play.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package net.wiringbits.api

import net.wiringbits.common.models.{Captcha, Email, Name, Password}
import net.wiringbits.webapp.common.models.WrappedString
import play.api.libs.json.*
import sttp.tapir.generic.auto.*
import sttp.tapir.{Codec, CodecFormat, Schema, SchemaType}
import sttp.tapir.{Schema, SchemaType}

import java.time.Instant

Expand Down
2 changes: 1 addition & 1 deletion server/src/main/scala/controllers/AdminController.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package controllers

import net.wiringbits.api.endpoints.AdminEndpoints
import net.wiringbits.api.models.admin.{AdminGetUserLogs, AdminGetUsers}
import net.wiringbits.api.models.ErrorResponse
import net.wiringbits.api.models.admin.{AdminGetUserLogs, AdminGetUsers}
import net.wiringbits.common.models.Email
import net.wiringbits.services.AdminService
import org.slf4j.LoggerFactory
Expand Down
4 changes: 2 additions & 2 deletions server/src/main/scala/controllers/UsersController.scala
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package controllers

import net.wiringbits.actions.*
import net.wiringbits.actions.users.{CreateUserAction, ForgotPasswordAction, GetUserLogsAction, ResetPasswordAction, SendEmailVerificationTokenAction, UpdatePasswordAction, UpdateUserAction, VerifyUserEmailAction}
import net.wiringbits.actions.users.*
import net.wiringbits.api.endpoints.UsersEndpoints
import net.wiringbits.api.models.*
import net.wiringbits.api.models.users.{CreateUser, ForgotPassword, GetUserLogs, ResetPassword, SendEmailVerificationToken, UpdatePassword, UpdateUser, VerifyEmail}
import net.wiringbits.api.models.users.*
import org.slf4j.LoggerFactory
import sttp.capabilities.WebSockets
import sttp.capabilities.akka.AkkaStreams
Expand Down
8 changes: 7 additions & 1 deletion server/src/test/scala/controllers/UsersControllerSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ package controllers
import com.dimafeng.testcontainers.PostgreSQLContainer
import controllers.common.PlayPostgresSpec
import net.wiringbits.api.models.auth.Login
import net.wiringbits.api.models.users.{CreateUser, ForgotPassword, ResetPassword, SendEmailVerificationToken, VerifyEmail}
import net.wiringbits.api.models.users.{
CreateUser,
ForgotPassword,
ResetPassword,
SendEmailVerificationToken,
VerifyEmail
}
import net.wiringbits.apis.models.EmailRequest
import net.wiringbits.apis.{EmailApi, ReCaptchaApi}
import net.wiringbits.common.models.*
Expand Down

0 comments on commit 07b4546

Please sign in to comment.