feat(public): implement chatwoot csat survey flow
This commit is contained in:
@@ -1278,5 +1278,8 @@ func widgetErrorStatus(err error) int {
|
||||
if strings.Contains(msg, "not found") {
|
||||
return http.StatusNotFound
|
||||
}
|
||||
if strings.Contains(msg, "CSAT survey after 14 days") {
|
||||
return http.StatusUnprocessableEntity
|
||||
}
|
||||
return http.StatusBadRequest
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user