Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

un- and relock #16

Open
wkloucek opened this issue Dec 5, 2023 · 0 comments
Open

un- and relock #16

wkloucek opened this issue Dec 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@wkloucek
Copy link
Owner

wkloucek commented Dec 5, 2023

// Lock returns a WOPI lock or performs an unlock and relock
// https://docs.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/lock
// https://docs.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/unlockandrelock
func Lock(app *demoApp, w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
wopiContext, _ := WopiContextFromCtx(ctx)
// TODO: handle un- and relock

@wkloucek wkloucek added the bug Something isn't working label Dec 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant