formatting

This commit is contained in:
Preston Baxter 2023-11-24 02:02:03 -06:00
parent 1ba7327742
commit 8da136dc34
3 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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())
}