import express, { Request, Response } from 'express'
import { Server } from 'http'
import { randomInt } from '@shared/core-utils'
+import { terminateServer } from './utils'
type BlocklistResponse = {
data: {
}
terminate () {
- if (this.server) this.server.close()
+ return terminateServer(this.server)
}
}