Skip to content

Commit

Permalink
change name
Browse files Browse the repository at this point in the history
  • Loading branch information
noO0oOo0ob committed Nov 29, 2023
1 parent 2cc2244 commit 19f8f9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/views/datamanager/DataDetailHttpData.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export default {
Object.assign(newReq, JSON.parse(this.editorCache.req))
newReq['data'] = this.editorCache.reqData
newData['request'] = newReq
newData['request']['headers']['internal_flow'] = 'datamanager'
newData['request']['headers']['lyrebirdInternalFlow'] = 'datamanager'
// Add response
const newResp = {}
Object.assign(newResp, JSON.parse(this.editorCache.resp))
Expand Down
4 changes: 2 additions & 2 deletions lyrebird/mock/blueprints/apis/mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ def put(self):
data = request.json
# Import encoder for encoding the requested content
application.encoders_decoders.encoder_handler(data)
if 'internal_flow' in data['request']['headers']:
del data['request']['headers']['internal_flow']
if 'lyrebirdInternalFlow' in data['request']['headers']:
del data['request']['headers']['lyrebirdInternalFlow']
context.application.data_manager.update_data(data_id, data)
context.application.data_manager.reactive()
return context.make_ok_response()
Expand Down

0 comments on commit 19f8f9c

Please sign in to comment.