repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
8c8fe2b
parent
2244deb
author
Eric Bower
date
2023-08-16 18:41:20 +0000 UTC
fix: `project` might not exist during link
1 files changed,  +1, -1
M pgs/wish.go
+1, -1
1@@ -243,7 +243,7 @@ func WishMiddleware(handler *uploadassets.UploadAssetHandler) wish.Middleware {
2 					session: session,
3 					store:   store,
4 				}
5-				err = pd.rmProjectAssets(user.ID, project.Name)
6+				err = pd.rmProjectAssets(user.ID, projectName)
7 				if err != nil {
8 					log.Error(err)
9 					utils.ErrorHandler(session, err)