diff options
author | dartcafe <github@dartcafe.de> | 2022-08-21 10:45:49 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2022-08-21 10:45:49 +0300 |
commit | 55f56794f86b84ca8b37ae527ca67d9cca1311ab (patch) | |
tree | 52c64173fa81d5b6335004c164998cb2f6df83f2 /appinfo | |
parent | d2b00a1e2c7daf0c3159bd499314d18c4f86ebc6 (diff) |
fix ajax requests
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 658fc50d..fab87e76 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -30,7 +30,7 @@ return [ ['name' => 'public#get_options', 'url' => '/s/{token}/options', 'verb' => 'GET'], ['name' => 'public#get_votes', 'url' => '/s/{token}/votes', 'verb' => 'GET'], ['name' => 'public#get_subscription', 'url' => '/s/{token}/subscription', 'verb' => 'GET'], - ['name' => 'public#set_email_address', 'url' => '/s/{token}/email', 'verb' => 'PUT'], + ['name' => 'public#set_email_address', 'url' => '/s/{token}/email/{emailAddress}', 'verb' => 'PUT'], ['name' => 'public#set_display_name', 'url' => '/s/{token}/name/{displayName}', 'verb' => 'PUT'], ['name' => 'public#delete_email_address', 'url' => '/s/{token}/email', 'verb' => 'DELETE'], @@ -65,7 +65,7 @@ return [ ['name' => 'poll#delete', 'url' => '/poll/{pollId}', 'verb' => 'DELETE'], ['name' => 'poll#toggleArchive', 'url' => '/poll/{pollId}/toggleArchive', 'verb' => 'PUT'], - ['name' => 'poll#clone', 'url' => '/poll/{pollId}/clone', 'verb' => 'GET'], + ['name' => 'poll#clone', 'url' => '/poll/{pollId}/clone', 'verb' => 'POST'], ['name' => 'poll#getParticipantsEmailAddresses', 'url' => '/poll/{pollId}/addresses', 'verb' => 'GET'], ['name' => 'poll#sendConfirmation', 'url' => '/poll/{pollId}/confirmation', 'verb' => 'POST'], ['name' => 'poll#transfer_polls', 'url' => '/polls/transfer/{sourceUser}/{destinationUser}', 'verb' => 'PUT'], |