mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-17 12:02:26 +01:00
feat:#44 updated grpc and function for error handling
This commit is contained in:
@@ -68,7 +68,7 @@ func Feed(app model.AppType, token string) (string, error) {
|
||||
func FeedRecord(app model.AppType, token string) (model.FeedRecord, error) {
|
||||
|
||||
feedRecord, err := connector.GetFeedByToken(app.DataManagerURL, token)
|
||||
if err != nil || feedRecord.Deleted {
|
||||
if err != nil {
|
||||
return model.FeedRecord{}, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user