diff --git a/src/oracle/manage-fee/manage-fee.service.ts b/src/oracle/manage-fee/manage-fee.service.ts index 06c139f..0ab671a 100644 --- a/src/oracle/manage-fee/manage-fee.service.ts +++ b/src/oracle/manage-fee/manage-fee.service.ts @@ -594,7 +594,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 201, message: "Created Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -688,7 +688,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 201, message: "Created Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -777,7 +777,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 201, message: "Created Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -871,7 +871,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 201, message: "Created Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -955,7 +955,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 201, message: "Created Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1055,7 +1055,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 201, message: "Created Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1134,7 +1134,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 201, message: "Created Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1210,7 +1210,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 200, message: "Updated Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1284,7 +1284,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 200, message: "Updated Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1358,7 +1358,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 200, message: "Updated Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1432,7 +1432,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 200, message: "Updated Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1506,7 +1506,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 200, message: "Updated Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1580,7 +1580,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 200, message: "Updated Successfully" }; } catch (error) { if (error instanceof BadRequestException) { throw error; @@ -1657,7 +1657,7 @@ export class ManageFeeService { throw new BadRequestException(fres[0].ERRORMESG) } - return fres; + return { statusCode: 200, message: "Updated Successfully" }; } else { throw new BadRequestException(); }