add POST /api/webhooks/checkin/{id}

This commit is contained in:
shibafu committed 2020-07-19 23:04:10 +09:00
1 parent 5926c6e640
commit de07e950f2
6 files changed
+106 -10

No files matched your search

+5
View File
@@ -25,4 +25,9 @@ class CheckinWebhook extends Model
{
return $this->belongsTo(User::class);
}
public function isAvailable()
{
return $this->user() !== null;
}
}