Skip to content

Commit 493bef7

Browse files
AchoArnoldCopilot
andcommitted
fix: increase search query max length from 20 to 50 characters
Allows searching by bulk message IDs (e.g. bulk-8dcc3d68-57bd-4913-a5ff-52c107ffc0c9) which are 41 characters long. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 465cc3e commit 493bef7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api/pkg/validators/message_handler_validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ func (validator MessageHandlerValidator) ValidateMessageSearch(ctx context.Conte
328328
"min:0",
329329
},
330330
"query": []string{
331-
"max:20",
331+
"max:50",
332332
},
333333
"token": []string{
334334
"required",

web/pages/bulk-messages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<p class="text--secondary">
103103
Your 10 most recent bulk SMS uploads are shown below, including a
104104
delivery status breakdown for each batch. Click
105-
<code>View</code> to see individual messages.
105+
<code>View</code> to see individual messages on the search page
106106
</p>
107107
<v-progress-linear
108108
v-if="loadingHistory"

0 commit comments

Comments
 (0)