This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor WorkshopRepository list method
The commit changes the implementation of the list method in the WorkshopRepository class. Instead of using a transaction block, it now uses the dbQuery helper from the DatabaseFactory. It also updates the method to be suspending, which is more suitable for the usage of dbQuery.
- Loading branch information
1 parent
3fbdc73
commit 4d7bf9b
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ fun Application.module() { | |
).init() | ||
configureAuth() | ||
configureRouting() | ||
|
||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters