Skip to content

Commit

Permalink
code clear
Browse files Browse the repository at this point in the history
  • Loading branch information
luojiyin1987 committed Oct 12, 2024
1 parent f61db79 commit 450f3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/controller/Award.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { dataSource, Hackathon, User, Award, Media } from '../model';
import { HackathonController } from './Hackathon';
import { ActivityLogController } from './ActivityLog';

@JsonController('/hackathon/:hackathon/award/:award')
@JsonController('/hackathon/:hackathonName/award/:awardId')
export class AwardController {
store = dataSource.getRepository(Award);
hackathonStore = dataSource.getRepository(Hackathon);
Expand Down

0 comments on commit 450f3aa

Please sign in to comment.