Skip to content

Commit

Permalink
fix: Missing requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
zekiahmetbayar committed Oct 20, 2023
1 parent 7d07be8 commit 23b4c05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ jobs:
mv /tmp/report-engine-build.deb /tmp/report-engine-${{ github.run_number }}-x64.deb
rm -rf $DEBIAN_PATH
# sed -i s/%VERSION%/${{ github.run_number }}/g scripts/redhat/report-engine.spec
# rpmbuild -ba scripts/redhat/report-engine.spec --define "_app_dir $TMP_DIR" --define "_rpmdir /tmp" --define "_rpmfilename report-engine-${{ github.run_number }}-x64.rpm"
- name: Release
id: create_release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def ListTemplates(name: str):

return res

@app.delete("/templates/{name}",summary="Lists all templates.", tags=["Template"])
@app.delete("/templates/{name}",summary="Deletes a template.", tags=["Template"])
def ListTemplates(name: str):
os.remove(os.getcwd() + "/templates/" + name)
return "Item deleted successfully."
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ docxtpl==0.16.7
fastapi==0.104.0
pydantic==2.4.2
uvicorn==0.15.0
python-multipart

0 comments on commit 23b4c05

Please sign in to comment.