Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hw87AlenBolatov
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Болатов Ален
hw87AlenBolatov
Commits
560d2292
Commit
560d2292
authored
Apr 10, 2023
by
Болатов Ален
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed consoles
parent
91606c0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
track.ts
backend/src/controllers/track.ts
+0
-1
No files found.
backend/src/controllers/track.ts
View file @
560d2292
...
...
@@ -52,7 +52,6 @@ export const TrackController = {
publishTrack
:
async
(
req
:
Request
,
res
:
Response
)
=>
{
try
{
const
id
=
req
.
params
.
id
;
console
.
log
(
'sdfd'
);
await
TrackModel
.
findOneAndUpdate
({
_id
:
id
},
{
published
:
true
});
res
.
send
(
'Published'
);
}
catch
(
err
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment