mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 15:27:01 +00:00
Option to split the Mapped tables code into a separate scala project separated by Akka #154 - ResourceUser separeted - isue fixed - in progress
This commit is contained in:
parent
d482d3aef9
commit
1efb612c9a
@ -112,8 +112,8 @@ class AuthUser extends MegaProtoUser[AuthUser] with Logger {
|
||||
if(! (user defined_?)){
|
||||
info("user reference is null. We will create an API User")
|
||||
val resourceUser = createUnsavedResourceUser()
|
||||
code.model.User.saveResourceUser(resourceUser)
|
||||
user(resourceUser) //is this saving resourceUser into a user field?
|
||||
val savedUser = code.model.User.saveResourceUser(resourceUser)
|
||||
user(savedUser) //is this saving resourceUser into a user field?
|
||||
}
|
||||
else {
|
||||
info("user reference is not null. Trying to update the API User")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user