Ridy Flutter - Full Taxi solution 3.1.12

No permission to download
Joined
Sep 11, 2021
Messages
6,560
Reaction score
3,254
Credits
$5,473
thanks to dear member @hargrave submitted a new resource:

Ridy Flutter - Full Taxi solution - Ridy is a fully featured taxi application based on Flutter and it uses powerful Node.js application


Read more about this resource...
 
Even following the changes I still receive the message: An unknown error occurred, please contact through the customer panel at support@ridy.io for more information.
apps\admin-panel\src\app\config\config.component.ts

FROM
JavaScript:
  async next() {
    switch (this.currentStep) {
      case 0: {
        if (this.currentConfig.currentConfiguration.purchaseCode == null) {
          this.msg.error('Purchase code is invalid.');
          return;
        }
        const result = await firstValueFrom(
          this.updatePurchaseGql.mutate({
            code: this.currentConfig.currentConfiguration.purchaseCode ?? '',
            email: this.email,
          })
        );
        console.log(result);
        if (
          result.data?.updatePurchaseCode.status ==
          UpdatePurchaseCodeStatus.ClientFound
        ) {
         this.currentStep += 1;
        }
        if (
          result.data?.updatePurchaseCode.status ==
          UpdatePurchaseCodeStatus.Invalid
        ) {
       this.currentStep += 1;
        }
        if (
          result.data?.updatePurchaseCode.status == UpdatePurchaseCodeStatus.Ok
        ) {
        }
        break;
      }

JavaScript:
  async next() {
    switch (this.currentStep) {
      case 0: {
        if (this.currentConfig.currentConfiguration.purchaseCode == null) {
          this.msg.error('Purchase code is invalid.');
          return;
        }
         this.currentStep += 1;
        break;
      }