Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
twitter_syncer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Odysseus
twitter_syncer
Commits
606ed130
Commit
606ed130
authored
Oct 13, 2024
by
vicotor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
772e2d0d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
api_service.go
api_service.go
+0
-8
db.go
db.go
+3
-0
No files found.
api_service.go
View file @
606ed130
...
...
@@ -251,14 +251,6 @@ func TaskAdd(c *fiber.Ctx) error {
})
}
if
ok
{
return
c
.
JSON
(
Res
{
Code
:
500
,
Msg
:
"task already existed"
,
})
}
}
job
:=
TaskJob
{
...
...
db.go
View file @
606ed130
...
...
@@ -276,6 +276,9 @@ func (job *TaskJob) String() string {
func
GetTasks
()
([]
TaskJob
,
error
)
{
tasks
,
err
:=
QueryAllTask
()
for
_
,
task
:=
range
tasks
{
fmt
.
Println
(
"GetTasks"
,
task
)
}
if
err
!=
nil
{
return
nil
,
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