Skip to content
Snippets Groups Projects
Commit 1b73e42f authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Use resave instead of save in webform handler

parent 4f16c8af
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ class CreateProject extends WebformHandlerBase {
$data[$this->configuration['field_gitlab_url']] = $project['ssh_url_to_repo'];
$webform_submission->setData($data);
try {
$webform_submission->save();
$webform_submission->resave();
} catch (EntityStorageException $e) {
// TODO: handle exception.
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment