📝 Refactoring

This commit is contained in:
2021-08-04 15:47:01 -07:00
parent 524f8179f4
commit cf65b36157
2 changed files with 3 additions and 3 deletions

View File

@@ -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:",

View File

@@ -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 }>