formatting
This commit is contained in:
parent
1ba7327742
commit
8da136dc34
|
@ -93,7 +93,6 @@ func actionsForUserTableData(c *gin.Context) templates.TableData {
|
|||
return defaultTableData(c)
|
||||
}
|
||||
|
||||
|
||||
//check for filter
|
||||
filter, filter_exists := c.GetQuery("filter")
|
||||
index := 1
|
||||
|
|
|
@ -134,7 +134,7 @@ func (ts *VendorTokenSource) waitForToken(tl *models.TokenLock) error {
|
|||
}
|
||||
|
||||
//We waited to long check if its refreshed and carry on
|
||||
res :=col.FindOne(context.Background(), bson.M{"token_id": tl.TokenId})
|
||||
res := col.FindOne(context.Background(), bson.M{"token_id": tl.TokenId})
|
||||
if res.Err() != nil {
|
||||
return errors.Join(TokenWaitExpired, res.Err())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue