Fixed edit entry post issue
This commit is contained in:
@@ -83,7 +83,7 @@ class Api
|
||||
$put['status'] = true;
|
||||
$put['data'] = $update;
|
||||
$put['count'] = count($put['data']);
|
||||
$put['message'] = ucfirst($table) . ' berhasil diubah';
|
||||
$put['message'] = 'Proses berhasil';
|
||||
}
|
||||
|
||||
header('Content-Type: application/json');
|
||||
@@ -107,7 +107,7 @@ class Api
|
||||
$post['status'] = true;
|
||||
$post['data'] = $entry;
|
||||
$post['count'] = count($post['data']);
|
||||
$post['message'] = ucfirst($table) . ' berhasil ditambahkan';
|
||||
$post['message'] = 'Proses berhasil';
|
||||
}
|
||||
|
||||
header('Content-Type: application/json');
|
||||
|
||||
Reference in New Issue
Block a user