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

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

View File

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