Commit b6735747 authored by Sean O'Donnell's avatar Sean O'Donnell

Update Check

parent 6e800ac3
......@@ -297,4 +297,11 @@ class APIController extends Controller
'latest_donation' => 'KaibaSean - £4.00'
]);
}
public function updateCheck(Request $r){
return response()->json([
'success' => true,
'version' => '1.0.0'
]);
}
}
......@@ -93,4 +93,6 @@ Route::post('songrequest/removesong/{id}', 'SongRequest\APIController@removeSong
Route::get('songrequest/nextsongprofile/{twitch_id}', 'SongRequest\APIController@nextSongProfile');
// Paypal Integration
Route::any('paypal/webhook', 'API\APIController@processPaypalWebhook');
\ No newline at end of file
Route::any('paypal/webhook', 'API\APIController@processPaypalWebhook');
Route::get('updatecheck', 'API\APIController@updateCheck');
\ No newline at end of file
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