fix(user-service): handle optional fingerprint parameter
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3efce36f92
commit
3a675bf3a3
|
|
@ -48,7 +48,7 @@ export class AuthController {
|
|||
@Post('anonymous')
|
||||
@HttpCode(HttpStatus.OK)
|
||||
async createAnonymousSession(@Body() dto: CreateAnonymousDto) {
|
||||
const result = await this.authService.createAnonymousSession(dto.fingerprint);
|
||||
const result = await this.authService.createAnonymousSession(dto.fingerprint || '');
|
||||
return {
|
||||
success: true,
|
||||
data: result,
|
||||
|
|
|
|||
Loading…
Reference in New Issue