Commit dd828a4
fix: interpolate sign-request uuid into account create URL
generateOcsUrl('/apps/libresign/api/v1/account/create/{uuid}')
was called without the params object, so the literal string
'{uuid}' was sent as the path segment. The backend validates
the uuid with UUIDUtil::validateUUID() and rejects the literal
placeholder with 'Invalid UUID'.
Pass the uuid route param as the second argument to
generateOcsUrl so the placeholder is replaced before the
HTTP request is made.
Closes #7313
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent e3d30db commit dd828a4
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
| 246 | + | |
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
| |||
0 commit comments