Return new session-content directly after save

This commit is contained in:
int2001
2024-04-28 14:39:31 +00:00
parent 95ab8cf510
commit ef48375819

View File

@@ -70,12 +70,11 @@ class Contesting extends CI_Controller {
}
public function setSession() {
$this->load->model('Contesting_model');
$this->load->model('Contesting_model');
$this->Contesting_model->setSession();
return json_encode("ok");
}
header('Content-Type: application/json');
echo json_encode($this->Contesting_model->getSession());
}
public function create() {
$this->load->model('Contesting_model');