Skip to content

Commit da7de66

Browse files
committed
fix: only accept title and description options
1 parent 7b507b0 commit da7de66

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/methods/create.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ module.exports = async (files = [], options = {}) => {
4646
method: 'POST',
4747
data: {
4848
files,
49-
...options,
49+
title: options.title,
50+
description: options.description,
5051
},
5152
});
5253

0 commit comments

Comments
 (0)