Skip to content

Commit

Permalink
wip: update to r50 - remove //@ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Mar 7, 2024
1 parent 4f372b2 commit 30b1a80
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/coreHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,10 @@ export class CoreHandler {
* @param studioId The studio the showstyles belong to.
*/
async setupSubscriptionForShowStyleBases(): Promise<void> {
return Promise.all([this.core.autoSubscribe('showStyleBases', {})]).then(
() => {
this.setupObserverForShowStyleBases()
return
}
)
return Promise.all([this.core.autoSubscribe('showStyleBases', {})]).then(() => {
this.setupObserverForShowStyleBases()
return
})
}
async updateCoreStatus(): Promise<any> {
let statusCode = StatusCode.GOOD
Expand Down Expand Up @@ -279,8 +277,8 @@ export class CoreHandler {
if (err) {
this.logger.error('executeFunction error', err, err.stack)
}
//@ts-ignore
this.core.coreMethods.functionReply(cmd._id, err, res)
this.core.coreMethods
.functionReply(cmd._id, err, res)
.then(() => {
// console.log('cb done')
})
Expand Down

0 comments on commit 30b1a80

Please sign in to comment.