chore: Minor changes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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(),
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user