Skip to content

Commit

Permalink
Merge branch 'main' into main_r
Browse files Browse the repository at this point in the history
  • Loading branch information
kou7306 authored Feb 3, 2024
2 parents 9a7b81c + b0e782f commit 4463cc7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ func createHandler(w http.ResponseWriter, r *http.Request) {
//対象のキャラの画像を取得
img := funcs.DispatchPictureBasedOnProfession(profession)


filePath := fmt.Sprintf("characterImages/%s", img)

// 背景画像の生成
Expand All @@ -177,8 +178,6 @@ func createHandler(w http.ResponseWriter, r *http.Request) {
// キャラクター画像の生成
funcs.CreateCharacterImg(filePath, "images/gauge.png", total, level,username)



_, dailyCommits, maxCommits, err := funcs.GetCommitHistory(username)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
Expand Down
Binary file added src/result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4463cc7

Please sign in to comment.