Skip to content

Commit a0ef684

Browse files
committed
fix: swap the order of the parameters options and callback in order to fix test failures
1 parent 9dead40 commit a0ef684

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ exports.restore = function restore(public_ids, callback, options = {}) {
125125
}, callback, options);
126126
};
127127

128-
exports.restore_by_asset_ids = function restore_by_asset_ids(asset_ids, callback, options = {}) {
128+
exports.restore_by_asset_ids = function restore_by_asset_ids(asset_ids, options = {}, callback) {
129129
options.content_type = "json";
130130
let uri = ["resources", "restore"];
131131

0 commit comments

Comments
 (0)