Skip to content
Snippets Groups Projects
Commit 3f062286 authored by zidane-itb's avatar zidane-itb
Browse files

change indentations

parent d17e1f4d
Branches
Tags
No related merge requests found
package com.kms.service;
import com.j256.ormlite.dao.Dao;
import com.kms.dto.PaymentInitReq;
import com.kms.dto.PaymentInitResp;
import com.kms.dto.PaymentStatusResp;
import com.kms.dto.payment.PaymentInitReq;
import com.kms.dto.payment.PaymentInitResp;
import com.kms.dto.payment.PaymentStatusResp;
import com.kms.model.Payment;
import lombok.RequiredArgsConstructor;
......@@ -49,7 +49,8 @@ public class PaymentService {
paymentDao.create(payment);
return new PaymentInitResp(payment.getPaymentId(), true, 1, "");
} catch (SQLException e) {
return new PaymentInitResp(null, false, 2, "Unexpected error has happened");
return new PaymentInitResp(null, false, 2,
"Unexpected error has happened");
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment