Skip to content

Commit a609121

Browse files
committed
add tip to current task api endpoint
1 parent 5ae1c5f commit a609121

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

taskapp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def api_login():
173173
def api_current_task(user):
174174
current_task = get_taskCurrent(user.username)
175175
if current_task:
176-
return jsonify({'message': {'taskName': current_task[0], 'taskImage': current_task[6]}})
176+
return jsonify({'message': {'taskName': current_task[0], 'taskImage': current_task[6]}, 'taskTip': current_task[4]})
177177
return jsonify({'message': None})
178178

179179
@app.route('/api/v1/resource/task_progress')

0 commit comments

Comments
 (0)