Skip to content

Commit 7c03f0d

Browse files
committed
Cannot work out just yet
1 parent 4fd0820 commit 7c03f0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

features/user/register_form.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Feature: Register process via a form
3131
"""
3232
{
3333
"@context": "/contexts/User",
34-
"@type": "User",
34+
"@type": "__api_me",
3535
"username": "new_user",
3636
"emailAddress": "user@example.com",
3737
"_metadata": {

src/Resources/config/api_platform/form/resource.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<requirement property="id">[^/]+</requirement>
2424
</requirements>
2525
</operation>
26-
<operation class="ApiPlatform\Metadata\Put"
26+
<operation class="ApiPlatform\Metadata\Post"
2727
name="_api_/forms/{id}/submit{._format}"
2828
method="POST"
2929
uriTemplate="/forms/{id}/submit{._format}"

0 commit comments

Comments
 (0)