Skip to content

Commit

Permalink
fix(app-server): fix file upload token parsing error;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Aug 17, 2021
1 parent 8e8aef4 commit aa7368e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/app-server/src/router/file/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: Maslow<wangfugen@126.com>
* @Date: 2021-08-11 18:07:36
* @LastEditTime: 2021-08-17 17:58:30
* @LastEditTime: 2021-08-18 00:09:00
* @Description:
*/

Expand Down Expand Up @@ -51,7 +51,6 @@ export enum FS_OPERATION {
*/
export function checkFileOperationToken(bucket: string, token: string, operation: FS_OPERATION, filename?: string): [number, string] {
assert(bucket, 'empty `bucket` got')
assert(token, 'empty `token` got')
assert(operation, 'empty `operation` got')

if (!token) {
Expand Down

0 comments on commit aa7368e

Please sign in to comment.