型を明示的に指定
This commit is contained in:
parent
631fd990cb
commit
86a4ef8766
1 changed files with 2 additions and 2 deletions
|
@ -240,8 +240,8 @@ def verify():
|
||||||
@app.route('/stop', methods=['POST'])
|
@app.route('/stop', methods=['POST'])
|
||||||
def stop():
|
def stop():
|
||||||
pc_number = int(request.json.get('pc_number'))
|
pc_number = int(request.json.get('pc_number'))
|
||||||
pc_uuid = request.json.get('pc_uuid')
|
pc_uuid = str(request.json.get('pc_uuid'))
|
||||||
pc_token = request.json.get('pc_token')
|
pc_token = str(request.json.get('pc_token'))
|
||||||
print(str(pc_number) + "の使用停止処理を開始...")
|
print(str(pc_number) + "の使用停止処理を開始...")
|
||||||
|
|
||||||
pc_auth = auth.check(pc_number=pc_number, pc_uuid=pc_uuid, pc_token=pc_token)
|
pc_auth = auth.check(pc_number=pc_number, pc_uuid=pc_uuid, pc_token=pc_token)
|
||||||
|
|
Loading…
Reference in a new issue