This commit is contained in:
Daniel
2022-05-31 15:38:54 +02:00
parent 02000f4a94
commit 518429e2a0

View File

@@ -1,4 +1,5 @@
import cds from '@sap/cds'
export default class UserService extends cds.Service { init(){
this.on('READ', 'me', ({ tenant, user, locale }) => ({ id: user.id, locale, tenant }))
this.on('login', (req) => {