feat:#44 updated grpc and function for error handling

This commit is contained in:
Elmar Kresse
2024-07-13 19:18:14 +02:00
parent 5f713c4dff
commit c0e09c47bf
8 changed files with 36 additions and 17 deletions

View File

@@ -48,6 +48,7 @@ func FindFeedByToken(app *pocketbase.PocketBase, token string) (*model.Feed, err
var feed model.Feed
feed.Modules = record.GetString("modules")
feed.Retrieved = record.GetDateTime("retrieved")
feed.Deleted = record.GetBool("deleted")
//update retrieved time if the is not marked as deleted
if !record.GetBool("deleted") {