File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ function FeedbackWindow {
104104 return
105105 }
106106
107- if ($msg.Length -gt 100 ) {
107+ if ($msg.Length -gt 250 ) {
108108 [System.Windows.MessageBox ]::Show(" Message too long. Maximum 50 characters allowed." , " Warning" )
109109 return
110110 }
@@ -117,15 +117,13 @@ function FeedbackWindow {
117117 } | ConvertTo-Json
118118
119119 Invoke-RestMethod - Uri $workerURL - Method Post - Body $jsonBody - ContentType " application/json"
120-
121- [System.Windows.MessageBox ]::Show(" Sent successfully. Thank you for your feedback!" , " Success" )
122-
120+ [System.Windows.MessageBox ]::Show($response.message )
123121 $subjectBox.Clear ()
124122 $msgBox.Clear ()
125123 $typeBox.SelectedIndex = 0
126124 }
127125 catch {
128- [System.Windows.MessageBox ]::Show(" Failed to send feedback.`n $_ " , " Error " )
126+ [System.Windows.MessageBox ]::Show(" Failed to send feedback.`n $_ " )
129127 }
130128 })
131129
You can’t perform that action at this time.
0 commit comments