Skip to content

Commit d516159

Browse files
committed
fixed typos
Signed-off-by: Alexander Piskun <[email protected]>
1 parent af1d1d7 commit d516159

File tree

1 file changed

+1
-2
lines changed
  • examples/as_app/skeleton/src

1 file changed

+1
-2
lines changed

examples/as_app/skeleton/src/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
def enabled_handler(enabled: bool, nc: NextcloudApp) -> str:
1414
# This will be called each time application is `enabled` or `disabled`
15-
# All scopes that application required already granted before this step.
1615
# NOTE: `user` is unavailable on this step, so all NC API calls that require it will fail as unauthorized.
1716
print(f"enabled={enabled}")
1817
if enabled:
@@ -32,5 +31,5 @@ def initialization():
3231

3332
if __name__ == "__main__":
3433
# Wrapper around `uvicorn.run`.
35-
# You are free to call it directly, just use `APP_HOST` and `APP_PORT` from the environment.
34+
# You are free to call it directly, with just using the `APP_HOST` and `APP_PORT` variables from the environment.
3635
run_app("main:APP", log_level="trace")

0 commit comments

Comments
 (0)