This repository was archived by the owner on Jan 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
cli-server/generator/injected/src/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import javax.ws.rs.ext.ExceptionMapper
2121 * @author Simpli© CLI generator
2222 */
2323open 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 >() {
Original file line number Diff line number Diff 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`
You can’t perform that action at this time.
0 commit comments