Skip to content

Commit 09aa813

Browse files
committed
Minor changes
1 parent f8c6606 commit 09aa813

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Examples.NetCore/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Examples.NetCore
1010
using static System.Console;
1111

1212
/// <summary>
13-
/// Exmples
13+
/// Examples
1414
/// </summary>
1515
public class Program
1616
{
@@ -47,6 +47,7 @@ public static void Main()
4747
WriteLine("GET Request");
4848
FirebaseResponse getResponse = firebaseDBTeams.Get();
4949
WriteLine(getResponse.Success);
50+
if(getResponse.Success)
5051
WriteLine(getResponse.JSONContent);
5152
WriteLine();
5253

FirebaseNet/Database/FirebaseRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public FirebaseResponse Execute()
9090
Success = response.Result.IsSuccessStatusCode
9191
};
9292

93-
if (this.Method == HttpMethod.Get)
93+
if (this.Method.Equals(HttpMethod.Get))
9494
{
9595
var content = result.Content.ReadAsStringAsync();
9696
content.Wait();

0 commit comments

Comments
 (0)