Fixed typos
Change-Id: Ifcd2f3b9def44e6b78150517a1c5d7ee09a845a7
This commit is contained in:
parent
2fcc05e7a4
commit
65bc82b760
@ -82,30 +82,6 @@ Route::group([
|
||||
Route::get('', 'OAuth2GroupsApiController@getAll');
|
||||
});
|
||||
|
||||
// teams
|
||||
Route::group(['prefix'=>'teams'], function(){
|
||||
Route::get('', 'OAuth2TeamsApiController@getMyTeams');
|
||||
Route::post('', 'OAuth2TeamsApiController@addTeam');
|
||||
|
||||
Route::group(['prefix' => '{team_id}'], function () {
|
||||
Route::get('', 'OAuth2TeamsApiController@getMyTeam');
|
||||
Route::put('', 'OAuth2TeamsApiController@updateTeam');
|
||||
Route::delete('', 'OAuth2TeamsApiController@deleteTeam');
|
||||
|
||||
Route::group(array('prefix' => 'messages'), function () {
|
||||
Route::get('', 'OAuth2TeamsApiController@getMyTeamMessages');
|
||||
Route::post('', 'OAuth2TeamsApiController@postTeamMessage');
|
||||
});
|
||||
|
||||
Route::group(array('prefix' => 'members'), function () {
|
||||
Route::group(['prefix' => '{member_id}'], function () {
|
||||
Route::post('', 'OAuth2TeamsApiController@addMember2MyTeam');
|
||||
Route::delete('', 'OAuth2TeamsApiController@removedMemberFromMyTeam');
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
// summits
|
||||
Route::group(array('prefix' => 'summits'), function () {
|
||||
|
||||
|
@ -60,7 +60,7 @@ final class DoctrineOrganizationRepository
|
||||
{
|
||||
try {
|
||||
return $this->getEntityManager()->createQueryBuilder()
|
||||
->select("t")
|
||||
->select("o")
|
||||
->from(\models\main\Organization::class, "o")
|
||||
->where('UPPER(TRIM(o.name)) = UPPER(TRIM(:name))')
|
||||
->setParameter('name', $name)
|
||||
|
@ -122,7 +122,7 @@ final class ApiScopesSeeder extends Seeder
|
||||
'description' => 'Grants write access for Speakers Data',
|
||||
],
|
||||
[
|
||||
'name' => sprintf(SummitScopes::ReadSpeakersDataSpeakersData, $current_realm),
|
||||
'name' => sprintf(SummitScopes::ReadSpeakersData, $current_realm),
|
||||
'short_description' => 'Read Speakers Data',
|
||||
'description' => 'Grants read access for Speakers Data',
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user