Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Achievements #1357 #1370

Merged
merged 94 commits into from
Jul 2, 2022
Merged

Achievements #1357 #1370

merged 94 commits into from
Jul 2, 2022

Conversation

Olya-web7
Copy link
Contributor

No description provided.

@Olya-web7 Olya-web7 requested a review from litvinets June 23, 2022 19:06
@Olya-web7 Olya-web7 requested a review from litvinets June 30, 2022 14:40
Copy link
Contributor

@litvinets litvinets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done:)

{ id: 7, name: "Переможці та учасники олімпіад міжнародного та всеукраїнського рівнів" }
]

;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a bit lost:)

);
}

createAchievement(achievement: Achievement): Observable<Object> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return typo is Observable

return this.http.post('/api/v1/Achievement/Create', achievement);
}

getAchievementsTitle(achievement: Achievement): Observable<Object> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is redundant? the title does not match the actual request

import { Achievement } from 'src/app/shared/models/achievement.model';
import { AchievementsComponent } from './achievements.component';

// const MockAchievement = {Achievement: typeof Achievement};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove commented mock

@Olya-web7 Olya-web7 merged commit 1a273ce into develop Jul 2, 2022
@Olya-web7 Olya-web7 deleted the achievements branch July 2, 2022 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants