Skip to content

Commit

Permalink
Fix: refactor presign function
Browse files Browse the repository at this point in the history
  • Loading branch information
HuseinA committed Apr 29, 2020
1 parent 1678f7b commit 7b235bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obs/api/app/controllers/api/storage.py
Expand Up @@ -401,7 +401,7 @@ def post(self):


class presign(Resource):
def post(self, bucket_name, object_name):
def get(self, bucket_name, object_name):
parser = reqparse.RequestParser()
parser.add_argument("expire", type=int)
parser.add_argument("access_key", type=str, required=True)
Expand Down

0 comments on commit 7b235bd

Please sign in to comment.