mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Fix expiration time field format
This commit is contained in:
@@ -162,8 +162,8 @@ func (d Dynamo) GetFeed(hashID string) (*model.Feed, error) {
|
||||
updateExpression, err := expr.
|
||||
NewBuilder().
|
||||
WithUpdate(expr.
|
||||
Set(expr.Name("LastAccess"), expr.Value(now)).
|
||||
Set(expr.Name("ExpirationTime"), expr.Value(now.Add(feedTimeToLive)))).
|
||||
Set(expr.Name("LastAccess"), expr.Value(now.Unix())).
|
||||
Set(expr.Name("ExpirationTime"), expr.Value(now.Add(feedTimeToLive).Unix()))).
|
||||
Build()
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user