chore: Minor changes

This commit is contained in:
2026-07-20 18:36:09 +02:00
parent 04f92dc0ce
commit e4e6734808
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -13,10 +13,10 @@ Docker compose:
```yaml
services:
fixed-api:
## TODO: Add url for image
image: gitea.local.jzitnik.dev/jzitnik/fixed-smile-api:latest
restart: unless-stopped
ports:
- "3000:3000"
- '3000:3000'
environment:
- NODE_ENV=production
- REGISTRATION_DISABLED=false # Disabling registration
+1 -1
View File
@@ -83,7 +83,7 @@ export class SafeZonesService {
if (!user) throw new NotFoundException('User not found');
return {
Enabled: user.SafeZoneEnabled,
LastUpdate: new Date(user.Created as any).toISOString(),
LastUpdate: new Date(user.Created).toISOString(),
};
}
+2 -2
View File
@@ -22,10 +22,10 @@ export class UsersService {
surname: user.surname,
TermsAndConditions: user.TermsAndConditions,
PrivacyPolicy: user.PrivacyPolicy,
Created: new Date(user.Created as any).toISOString(),
Created: new Date(user.Created).toISOString(),
SafeZoneSettings: {
Enabled: user.SafeZoneEnabled,
LastUpdate: new Date(user.Created as any).toISOString(),
LastUpdate: new Date(user.Created).toISOString(),
},
};
}