Commit 46c9c424 authored by Цой Данил's avatar Цой Данил 💬

added some changes to the style of showing data

parent b41c27c7
...@@ -238,7 +238,7 @@ export class MongooseDB { ...@@ -238,7 +238,7 @@ export class MongooseDB {
const responseData = await data.populate('user track') const responseData = await data.populate('user track')
const response: IResponse<ITrackHistory> = { const response: IResponse<ITrackHistory> = {
status: EStatuses.SUCCESS, status: EStatuses.SUCCESS,
result: data, result: responseData,
message: 'Track history added' message: 'Track history added'
} }
return response return response
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment