File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace Examples.NetCore
10
10
using static System . Console ;
11
11
12
12
/// <summary>
13
- /// Exmples
13
+ /// Examples
14
14
/// </summary>
15
15
public class Program
16
16
{
@@ -47,6 +47,7 @@ public static void Main()
47
47
WriteLine ( "GET Request" ) ;
48
48
FirebaseResponse getResponse = firebaseDBTeams . Get ( ) ;
49
49
WriteLine ( getResponse . Success ) ;
50
+ if ( getResponse . Success )
50
51
WriteLine ( getResponse . JSONContent ) ;
51
52
WriteLine ( ) ;
52
53
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public FirebaseResponse Execute()
90
90
Success = response . Result . IsSuccessStatusCode
91
91
} ;
92
92
93
- if ( this . Method == HttpMethod . Get )
93
+ if ( this . Method . Equals ( HttpMethod . Get ) )
94
94
{
95
95
var content = result . Content . ReadAsStringAsync ( ) ;
96
96
content . Wait ( ) ;
You can’t perform that action at this time.
0 commit comments