fix: Admin
Deskripsi: - Penambahan field nama rekening di db bank - Optimalisasi event ## No Issue
This commit is contained in:
@@ -16,7 +16,7 @@ export async function investasi_funGetTransaksiByUserId({
|
||||
take: takeData,
|
||||
skip: skipData,
|
||||
orderBy: {
|
||||
createdAt: "desc",
|
||||
updatedAt: "desc",
|
||||
},
|
||||
where: {
|
||||
authorId: authorId,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { investasi_funGetProspekById } from "./get/fun_get_file_by_prospek_id";
|
||||
import { investasi_funGetOneInvestasiById } from "./get/fun_get_one_by_id";
|
||||
import { investasi_funGetOneInvestasiById } from "./get/fun_get_one_investasi_by_id";
|
||||
import { investasi_funGetTransaksiByUserId } from "./get/fun_get_all_transaksi_by_user_id";
|
||||
import { investasi_funUploadBuktiTransferById } from "./upload/fun_upload_bukti_transfer";
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ export async function investasi_funUploadBuktiTransferById({
|
||||
const fileName = gambar.name;
|
||||
const fileExtension = _.lowerCase(gambar.name.split(".").pop());
|
||||
const fileRandomName = v4(fileName) + "." + fileExtension;
|
||||
console.log(gambar);
|
||||
|
||||
const upload = await prisma.images.create({
|
||||
data: {
|
||||
|
||||
Reference in New Issue
Block a user