📝 Refactoring
This commit is contained in:
@@ -104,7 +104,7 @@ export default class ApiService extends Service {
|
||||
this.logger.info("Client connected via websocket!");
|
||||
|
||||
client.on(
|
||||
"importComicsInDB",
|
||||
"importComicsToDB",
|
||||
async ({ action, params, opts }, done) => {
|
||||
this.logger.info(
|
||||
"Received request from client! Action:",
|
||||
|
||||
@@ -74,8 +74,8 @@ export default class ProductsService extends Service {
|
||||
});
|
||||
},
|
||||
},
|
||||
getRecentlyImportedComicBooks: {
|
||||
rest: "POST /getRecentlyImportedComicBooks",
|
||||
getComicBooks: {
|
||||
rest: "POST /getComicBooks",
|
||||
params: {},
|
||||
async handler(
|
||||
ctx: Context<{ paginationOptions: object }>
|
||||
|
||||
Reference in New Issue
Block a user