aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-07-16 14:47:06 -0400
committerPaul Duncan <pabs@pablotron.org>2016-07-16 14:47:06 -0400
commit5192d6a0678c2d7ffc0e579cfe760dfa169f0100 (patch)
tree959f5675ce989a27014ddb118ed681db31b87358 /src
parentf2159db19a5aeeb4b4b7a53d065480adf1df47fc (diff)
downloadguff-5192d6a0678c2d7ffc0e579cfe760dfa169f0100.tar.bz2
guff-5192d6a0678c2d7ffc0e579cfe760dfa169f0100.zip
to_s seems to fix repo_url bug (dunno)
Diffstat (limited to 'src')
-rw-r--r--src/guff/models/project.cr4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guff/models/project.cr b/src/guff/models/project.cr
index 3c493c1..32be435 100644
--- a/src/guff/models/project.cr
+++ b/src/guff/models/project.cr
@@ -183,9 +183,9 @@ class Guff::Models::ProjectModel < Guff::Models::Model
body: body,
)
- puts "DEBUG: repo_url = #{repo_url}, post_id = #{post_id}"
+ # puts "DEBUG: repo_url = #{repo_url}, post_id = #{post_id}"
if repo_url
- db.query(SQL[:set], [repo_url, post_id.to_s])
+ db.query(SQL[:set], [repo_url.to_s, post_id.to_s])
end
end
end