Commit 8b9073d8 authored by xiphon's avatar xiphon

fix QR code generation, use appropriate 'address_uri' property

parent 88ce6b4e
......@@ -59,7 +59,7 @@ class Project extends Model
}
public function generateQrcode() {
return QrCode::format('png')->size(500)->generate($this->uri);
return QrCode::format('png')->size(500)->generate($this->address_uri);
}
public function getQrCodeSrcAttribute() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment