Fixed typos

Change-Id: Ifcd2f3b9def44e6b78150517a1c5d7ee09a845a7
This commit is contained in:
Sebastian Marcet 2018-10-22 16:20:56 -03:00
parent 2fcc05e7a4
commit 65bc82b760
3 changed files with 2 additions and 26 deletions

View File

@ -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 () {

View File

@ -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)

View File

@ -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',
],