Skip to content

Commit

Permalink
version 2.4.1.23 (#123)
Browse files Browse the repository at this point in the history
* called default roles

* updated dal version

---------

Co-authored-by: Otto Mation <[email protected]>
  • Loading branch information
Mograbi and OttoMation-Movai authored May 25, 2023
1 parent 041db2c commit 5a5e8d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from aiohttp import web

from dal.data.shared.vault import JWT_SECRET_KEY
from dal.models.role import Role

from gd_node.protocols.http.middleware import JWTMiddleware

Expand Down Expand Up @@ -102,6 +103,8 @@ def main():
# and add to the root
main_app.add_subapp(http_prefix, webapp)

# create default role
Role.create_default_roles()
# start the application
# runs until interrupted
web.run_app(main_app, host=HTTP_HOST, port=HTTP_PORT)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"PyYAML==5.1.2",
"requests==2.22.0",
"movai-core-shared==2.4.1.13",
"data-access-layer==2.4.1.21",
"data-access-layer==2.4.1.22",
"gd-node==2.4.1.15",
]

Expand Down

0 comments on commit 5a5e8d1

Please sign in to comment.