mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Fix TTL updates
This commit is contained in:
@ -172,9 +172,11 @@ func (d Dynamo) GetFeed(hashID string) (*model.Feed, error) {
|
||||
}
|
||||
|
||||
updateInput := &dynamodb.UpdateItemInput{
|
||||
TableName: d.FeedsTableName,
|
||||
Key: getInput.Key,
|
||||
UpdateExpression: updateExpression.Update(),
|
||||
TableName: d.FeedsTableName,
|
||||
Key: getInput.Key,
|
||||
UpdateExpression: updateExpression.Update(),
|
||||
ExpressionAttributeNames: updateExpression.Names(),
|
||||
ExpressionAttributeValues: updateExpression.Values(),
|
||||
}
|
||||
|
||||
_, err = d.dynamo.UpdateItem(updateInput)
|
||||
|
Reference in New Issue
Block a user