fix api email

This commit is contained in:
Afiq
2022-03-16 13:56:13 +08:00
parent 67969879f4
commit 0f12ec3b42
15 changed files with 989 additions and 1031 deletions
@@ -67,7 +67,7 @@ class RegisterController extends Controller
*/
protected function create(array $data)
{
Http::put(config('api.url') .'/api/otp/update_otp' ,[ 'nokp' => $data['icno'] ])->json();
Http::withOptions(['verify' => config('app.api_verify')])->put(config('api.url') .'/api/otp/update_otp' ,[ 'nokp' => $data['icno'] ])->json();
// return User::create([
// 'name' => $data['name'],