Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit 9f08f9c

Browse files
committed
fix: bugs
1 parent 869221e commit 9f08f9c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/@simpli/cli-server/generator/injected/src/main/RouterWrapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import javax.ws.rs.ext.ExceptionMapper
2121
* @author Simpli© CLI generator
2222
*/
2323
open class RouterWrapper : ExceptionMapper<Throwable> {
24-
protected var transacPipe = TransactionPipe("jdbc/usecaseDS")
24+
protected var transacPipe = TransactionPipe("jdbc/<%-options.serverSetup.connection.database%>DS")
2525
protected var authPipe = AuthPipe(transacPipe)
2626

2727
protected val langs: HashMap<String, LanguageHolder> = object : HashMap<String, LanguageHolder>() {

packages/@simpli/cli/lib/scaffold/setup/Api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ module.exports = class Api {
214214

215215
result += ` async ${this.name}(model: LoginHolder) {\n`
216216
result += ` const email = model.${accountAttrName}\n`
217-
result += ` const senha = model.${passwordAttrName} = '######' // it will be ignored (accepted validation)\n`
217+
result += ` const ${passwordAttrName} = model.${passwordAttrName} = '######' // it will be ignored (accepted validation)\n`
218218
result += ` const hash = model.hash = ''\n`
219219

220220
result += ` try {\n`

0 commit comments

Comments
 (0)