update
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ import { TicketsModule } from "./modules/tickets/tickets.module";
|
|||||||
import { UploaderModule } from "./modules/uploader/uploader.module";
|
import { UploaderModule } from "./modules/uploader/uploader.module";
|
||||||
import { UsersModule } from "./modules/users/users.module";
|
import { UsersModule } from "./modules/users/users.module";
|
||||||
import { WalletsModule } from "./modules/wallets/wallets.module";
|
import { WalletsModule } from "./modules/wallets/wallets.module";
|
||||||
import { DkalaModule } from "./modules/dkala/dmenu.module";
|
import { DkalaModule } from "./modules/dkala/dkala.module";
|
||||||
@Module({
|
@Module({
|
||||||
imports: [
|
imports: [
|
||||||
// TelegrafModule.forRootAsync(telegrafConfig()),
|
// TelegrafModule.forRootAsync(telegrafConfig()),
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { forwardRef, Module } from "@nestjs/common";
|
import { forwardRef, Module } from "@nestjs/common";
|
||||||
|
|
||||||
import { DKALA_CONFIG } from "./constants";
|
import { DKALA_CONFIG } from "./constants";
|
||||||
import { DkalaController } from "./dmenu.controller";
|
import { DkalaController } from "./dkala.controller";
|
||||||
import { DContactService } from "./providers/contact.service";
|
import { DContactService } from "./providers/contact.service";
|
||||||
import { DkalaIconsService } from "./providers/icons.service";
|
import { DkalaIconsService } from "./providers/icons.service";
|
||||||
import { ShopService } from "./providers/shop.service";
|
import { ShopService } from "./providers/shop.service";
|
||||||
@@ -230,7 +230,8 @@ export class ShopService {
|
|||||||
const { data } = await firstValueFrom(
|
const { data } = await firstValueFrom(
|
||||||
this.httpService
|
this.httpService
|
||||||
.get(this.config.baseUrl + "/super-admin/notifications/sms-count", {
|
.get(this.config.baseUrl + "/super-admin/notifications/sms-count", {
|
||||||
params: { page, limit },
|
params: { page, limit},
|
||||||
|
headers: this.getHeaders()
|
||||||
})
|
})
|
||||||
.pipe(
|
.pipe(
|
||||||
catchError((err: AxiosError) => {
|
catchError((err: AxiosError) => {
|
||||||
|
|||||||
@@ -236,6 +236,7 @@ export class RestaurantService {
|
|||||||
this.httpService
|
this.httpService
|
||||||
.get(this.config.baseUrl + "/super-admin/notifications/sms-count", {
|
.get(this.config.baseUrl + "/super-admin/notifications/sms-count", {
|
||||||
params: { page, limit },
|
params: { page, limit },
|
||||||
|
headers: this.getHeaders()
|
||||||
})
|
})
|
||||||
.pipe(
|
.pipe(
|
||||||
catchError((err: AxiosError) => {
|
catchError((err: AxiosError) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user