Skip to content

Commit e19bfd8

Browse files
committed
fix template test
1 parent aaebb8c commit e19bfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ _.forEach(optionsByAuth, function (options, authName) {
131131
smsapi.template
132132
.delete(createdTemplate.id)
133133
.execute()
134-
.catch(function (err) {
134+
.then(function (res) {
135135
getTemplatesList(smsapi)
136136
.then(function (result) {
137137
if (result.size > 0) {

0 commit comments

Comments
 (0)