Update dependencies 🚀
This commit is contained in:
parent
6274f6f2f6
commit
0f27b62924
99 changed files with 446 additions and 433 deletions
|
|
@ -9,7 +9,7 @@ import DriveFile, { pack } from '../../../../../models/drive-file';
|
|||
*/
|
||||
module.exports = async (params, user) => {
|
||||
// Get 'fileId' parameter
|
||||
const [fileId, fileIdErr] = $(params.fileId).type(ID).$;
|
||||
const [fileId, fileIdErr] = $(params.fileId).type(ID).get();
|
||||
if (fileIdErr) throw 'invalid fileId param';
|
||||
|
||||
// Fetch file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue