mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
refactor: fixed dependency errors
This commit is contained in:
@@ -26,7 +26,7 @@ func PostToken(c *gin.Context) {
|
||||
HandleErrorInternalServerError(c, err)
|
||||
return
|
||||
}
|
||||
_, err = service.NewModelServiceV2[models.TokenV2]().InsertOne(t)
|
||||
_, err = service.NewModelService[models.TokenV2]().InsertOne(t)
|
||||
if err != nil {
|
||||
HandleErrorInternalServerError(c, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user