We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc1997b commit ecc36dcCopy full SHA for ecc36dc
CHANGELOG.md
@@ -2,6 +2,10 @@
2
3
All notable changes to `laravel-odk` will be documented in this file
4
5
+## 1.2.3 - 2021-08-27
6
+
7
+- Let a version be empty on publish
8
9
## 1.2.2 - 2021-08-26
10
11
- Better loop through answers (convert to object and rename keys)
src/OdkCentral.php
@@ -460,12 +460,10 @@ public function current()
460
* @param string $version
461
* @return $this
462
*/
463
- public function publish(string $version = null)
+ public function publish(string $version = '')
464
{
465
466
- $v = $version ?? uniqid();
467
-
468
- $this->endpoint .= '/publish?version=' . $v;
+ $this->endpoint .= '/publish?version=' . $version;
469
470
return $this->post();
471
0 commit comments