update models and create consumer domain accounts permissions
This commit is contained in:
@@ -9,7 +9,7 @@ export class ConsumerController {
|
||||
constructor(private service: ConsumerService) {}
|
||||
|
||||
@Get('')
|
||||
async findOne(@ConsumerInfo('user_id') userId: string) {
|
||||
return this.service.getInfo(userId)
|
||||
async findOne(@ConsumerInfo('id') consumerId: string) {
|
||||
return this.service.getInfo(consumerId)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user