PAMapp/shared/services/reviews.service.ts
@@ -29,8 +29,9 @@ async sendSatisfactionToClient(appointmentId: number): Promise<any> { try { const response = await http.post(`/consultant/sendSatisfactionToClient/${appointmentId}`); if (response !== null) { return response.data; // 弱掃TEST3: 判斷 response && response.data if (response) { return response && response.data; } else { throw new Error('http.post returned null-like value.'); }