mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-04 00:18:40 +01:00
fix: lint error
This commit is contained in:
parent
c9c26e249c
commit
c961796441
@ -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