fix: whatsapp template params validation (#6986)

This commit is contained in:
Shivam Mishra 2023-04-26 08:46:30 +05:30 committed by GitHub
parent 2f2cdd7e7c
commit af971c9b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ class Message < ApplicationRecord
'namespace': { 'type': 'string' },
'processed_params': { 'type': 'object' }
},
'required': %w[name category language namespace processed_params]
'required': %w[name]
}
}
}.to_json.freeze