fix: tag delete

pull/47/head
db0 2023-10-03 10:30:23 +02:00
parent 687e8599fd
commit 898500c5a0
1 changed files with 1 additions and 1 deletions

View File

@ -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)