changeset 437:5ca468751db2

Change init to initial
author Dennis Concepción Martín <dennisconcepcionmartin@gmail.com>
date Sun, 20 Jun 2021 12:58:52 +0200
parents a0d2477e5ff7
children 7f2a24a774eb
files LazyBear/Views/Home/HomeView.swift LazyBear/Views/Profile/ProfileView.swift
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/LazyBear/Views/Home/HomeView.swift	Sun Jun 20 12:58:38 2021 +0200
+++ b/LazyBear/Views/Home/HomeView.swift	Sun Jun 20 12:58:52 2021 +0200
@@ -65,7 +65,7 @@
         } else {
             ProgressView()
                 .onAppear {
-                    home.request("https://api.lazybear.app/home/type=init", .initial)
+                    home.request("https://api.lazybear.app/home/type=initial", .initial)
                 }
 
         }
--- a/LazyBear/Views/Profile/ProfileView.swift	Sun Jun 20 12:58:38 2021 +0200
+++ b/LazyBear/Views/Profile/ProfileView.swift	Sun Jun 20 12:58:52 2021 +0200
@@ -106,7 +106,7 @@
         
         switch requestType {
         case .initial:
-            let url = "https://api.lazybear.app/profile/type=init/symbols=\(symbolString)"
+            let url = "https://api.lazybear.app/profile/type=initial/symbols=\(symbolString)"
             profile.request(url, .initial)
             
         default: