Skip to content

Commit 47f711e

Browse files
committed
merge conflicts
1 parent 2fb2d11 commit 47f711e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/WopiHost.Core/Controllers/FilesController.cs

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ public async Task<IActionResult> PutFile(string id)
158158
[HttpPost("{id}"), WopiOverrideHeader(["PUT_RELATIVE"])]
159159
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
160160
public async Task<IActionResult> PutRelativeFile(string id) => throw new NotImplementedException($"{nameof(PutRelativeFile)} is not implemented yet.");
161+
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
161162

162163
/// <summary>
163164
/// Changes the contents of the file in accordance with [MS-FSSHTTP].

src/WopiHost.Core/Controllers/WopiBootstrapperController.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,6 @@ private bool ValidateAuthorizationHeader(StringValues authorizationHeader)
108108
{
109109
//TODO: implement header validation https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/bootstrapper/getrootcontainer#sample-response
110110
// http://stackoverflow.com/questions/31948426/oauth-bearer-token-authentication-is-not-passing-signature-validation
111-
true;
111+
return true;
112+
}
112113
}

0 commit comments

Comments
 (0)