fix: tag delete
parent
687e8599fd
commit
898500c5a0
|
@ -64,7 +64,7 @@ class Tags(Resource):
|
||||||
def delete(self):
|
def delete(self):
|
||||||
'''Delete an instance's tag
|
'''Delete an instance's tag
|
||||||
'''
|
'''
|
||||||
self.args = self.patch_parser.parse_args()
|
self.args = self.delete_parser.parse_args()
|
||||||
if not self.args.apikey:
|
if not self.args.apikey:
|
||||||
raise e.Unauthorized("You must provide the API key that was PM'd to the admin account")
|
raise e.Unauthorized("You must provide the API key that was PM'd to the admin account")
|
||||||
user = database.find_user_by_api_key(self.args.apikey)
|
user = database.find_user_by_api_key(self.args.apikey)
|
||||||
|
|
Loading…
Reference in New Issue