Skip to content

Commit 75949f0

Browse files
jekuaitkrimi-itk
andauthored
Update src/Plugin/rest/resource/WebformAllFormSubmissions.php
Co-authored-by: Mikkel Ricky <rimi@aarhus.dk>
1 parent c2264d0 commit 75949f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin/rest/resource/WebformAllFormSubmissions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function get(string $webform_id): ModifiedResourceResponse {
143143
catch (\Exception $e) {
144144
$errors = [
145145
'error' => [
146-
'message' => $this->t('Could not generate DateTime from :time', [':time' => $value]),
146+
'message' => $this->t('Invalid :param: :value', [':param' => $param, ':value' => $value]),
147147
],
148148
];
149149

0 commit comments

Comments
 (0)