mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix: lint error
This commit is contained in:
parent
781f5441f0
commit
31e35e3c91
@ -29,10 +29,9 @@ class RegisterController extends Controller {
|
|||||||
try {
|
try {
|
||||||
await this.clientApplicationsStore.upsert(clientRegistration);
|
await this.clientApplicationsStore.upsert(clientRegistration);
|
||||||
await this.clientInstanceStore.insert(clientRegistration);
|
await this.clientInstanceStore.insert(clientRegistration);
|
||||||
|
const { appName, instanceId } = clientRegistration;
|
||||||
this.logger.info(
|
this.logger.info(
|
||||||
`New client registered with appName=${
|
`New client registration: appName=${appName}, instanceId=${instanceId}`
|
||||||
clientRegistration.appName
|
|
||||||
} and instanceId=${clientRegistration.instanceId}`
|
|
||||||
);
|
);
|
||||||
return res.status(202).end();
|
return res.status(202).end();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
Reference in New Issue
Block a user