diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-02-23 17:23:56 -0500 |
|---|---|---|
| committer | Ivan Chen <ivan@tagg.id> | 2021-02-23 17:23:56 -0500 |
| commit | c860cb0dd149cc38a3c26b84fcb61df6da971fb5 (patch) | |
| tree | a1a48ba6adfdb86f5a9d0354b5889b2f79bdd34d /src/services | |
| parent | 6a2706cfa7edbe60ad0a6d27e5c4ca2b7faf1361 (diff) | |
| parent | 5864b997b68ae774a871ee9b43c0e548a2656cc6 (diff) | |
Merge branch 'master' into sp-add-friend-button
# Conflicts:
# src/screens/suggestedPeople/SuggestedPeopleScreen.tsx
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/MomentCategoryService.ts | 1 | ||||
| -rw-r--r-- | src/services/UserProfileService.ts | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/src/services/MomentCategoryService.ts b/src/services/MomentCategoryService.ts index bb2c5542..edd13ad0 100644 --- a/src/services/MomentCategoryService.ts +++ b/src/services/MomentCategoryService.ts @@ -19,7 +19,6 @@ export const loadMomentCategories: ( const data = await response.json(); categories = data.categories; } else { - console.log('Could not load categories!'); return []; } } catch (err) { diff --git a/src/services/UserProfileService.ts b/src/services/UserProfileService.ts index fff35370..bfc4933f 100644 --- a/src/services/UserProfileService.ts +++ b/src/services/UserProfileService.ts @@ -145,8 +145,6 @@ export const loadSocialPosts: ( accountData.handle = body.handle; accountData.posts = body.posts; accountData.profile_pic = body.profile_pic; - } else { - throw 'Unable to fetch posts data from ' + socialType; } } catch (error) { console.log(error); |
