Skip to content

Commit b2c0635

Browse files
vinivinimoz
authored andcommitted
feat: fix votes ranking
- Remove modification of textPoll to textIndPoll - Change of array to string - Updates translation - Some fix
1 parent a00d639 commit b2c0635

22 files changed

Lines changed: 1289 additions & 1221 deletions

lib/Controller/PollApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public function getAcl(): JSONResponse {
8686
/**
8787
* Add poll
8888
* @param string $title Poll title
89-
* @param string $type Poll type ('datePoll', 'textIndPoll','textRankPoll')
89+
* @param string $type Poll type ('datePoll', 'textPoll','textRankPoll')
9090
*/
9191
#[CORS]
9292
#[NoAdminRequired]

lib/Controller/PollController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function get(int $pollId): JSONResponse {
6666
/**
6767
* Add poll
6868
* @param string $title Poll title
69-
* @param string $type Poll type ('datePoll', 'textIndPoll','textRankPoll')
69+
* @param string $type Poll type ('datePoll', 'textPoll','textRankPoll')
7070
*/
7171
#[NoAdminRequired]
7272
public function add(string $type, string $title): JSONResponse {

0 commit comments

Comments
 (0)